0
sigmoid(x) = 1/(1+e(-x))

where -x should be in superscript. Without using numpy package, how to write the code to compute this value in Python? For example:

s = 1 / (1 + e(-x))

Suppose is the variable to receive the computation. I am learning Python.

user697911
  • 9,271
  • 20
  • 83
  • 153

0 Answers0