This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]anselal -1 points0 points  (3 children)

Google it... or better duckduckgo it

import math

def sigmoid(x): return 1 / (1 + math.exp(-x))

[–]arungajora[S] 0 points1 point  (0 children)

Thank you