Created
February 9, 2020 17:57
-
-
Save clementpoiret/f1e3a568121e5947d537936ea6602d55 to your computer and use it in GitHub Desktop.
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
# Prediction | |
observation = np.array(1).reshape(-1,1) | |
y_pred = model.predict(observation) | |
y_truth = gradient * observation + w0 | |
print("Prediction : {}\nTruth : {}".format(y_pred, y_truth)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment