Last active
December 7, 2015 03:50
-
-
Save ken5scal/3bf0bce60787abe1fdf7 to your computer and use it in GitHub Desktop.
[初心者向け]機械学習におけるベクトル化 入門 ref: http://qiita.com/kengoscal/items/f1c949a089f3ca233af5
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
h = activate_function(z) | |
grad = 1 / m * (X'*(h-y)) |
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
h = activate_function(z) | |
grad = 1/m * np.dot(X.T, h-y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment