Created
June 29, 2016 10:56
-
-
Save Mizzlr/0dfd22ee2b89099150827ae1a38fb902 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function g = sigmoidGradient(z) | |
g1 = 1 ./ (1 + exp(-z)); | |
g = g1 .* (1 - g1); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment