In this series of posts, I will explain various Machine Learning concepts with code in Python. You can find out Python code for this part here. Check out github repository of this series.
The sigmoid function is 1/ (1 + e^-x). I guess it’s a typo. Negative x on the denominator