Need help with Sigmoid value

Can someone please help me with sigmoid value,I tried various value only to get 1.0 and getting 0.5 seems to be out of equation.

Assuming you’re asking about the sigmoid() function, I’ll give you some hints about the simplest implementation:

  • You need only one line of code.
  • It uses the np.exp() function, the parameter “-z”, an addition operator, and a division operator.
  • Also use an appropriate set of parenthesis.
1 Like

I did send you a private message,please check your inbox.

Please don’t send your code to a mentor unless we ask to see it.