Created
December 1, 2020 05:14
-
-
Save angadsinghsandhu/83d6b799e185de7a6c7e9a23d3b5fd28 to your computer and use it in GitHub Desktop.
Derivative of the sigmoid squashing function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# activation function derrivative | |
def d_sigmoid(self, z): | |
eta = self.sigmoid(z) | |
return eta * (1 - eta) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment