Created
March 30, 2019 22:24
-
-
Save curiousily/8350a64ed37f612adb4857ed97666b50 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
for w in np.arange(-1, 1, 0.1): | |
y_hat = predict(x=X[0], w=w) | |
print(loss(y_hat, y[0])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment