Skip to content

Instantly share code, notes, and snippets.

@rvipandey
Created June 27, 2020 17:57
Show Gist options
  • Save rvipandey/edd2ff8dae12aa9630bdaad22e40e01d to your computer and use it in GitHub Desktop.
Save rvipandey/edd2ff8dae12aa9630bdaad22e40e01d to your computer and use it in GitHub Desktop.
def sigmoid(x,c,a,b):
y = c*1 / (1 + np.exp(-a*(x-b)))
return y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment