mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
419 B
419 B
Exercise 2 Sigmoid
The goal of this exercise is to learn to compute and plot the sigmoid function.
- On the same plot, plot the sigmoid function and the custom sigmoids defined as:
-
sigmoid1(x) = 1/(1+ exp(-(0.5*x + 3)))
-
sigmoid2(x) = 1/(1+ exp(-(5*x + 11)))
-
Add a line representing the probability=0.5
The plot should look like this: