Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created March 30, 2019 21:08
Show Gist options
  • Save curiousily/24ee56f6928dcd946931f4e3c6ea6846 to your computer and use it in GitHub Desktop.
Save curiousily/24ee56f6928dcd946931f4e3c6ea6846 to your computer and use it in GitHub Desktop.
def sigmoid(z):
return 1 / (1 + np.exp(-z))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment