Last active
September 29, 2018 10:25
-
-
Save animesh-agarwal/e6d4f3f8db54bda072e5d48afa9cffaf 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
# mean squared error | |
mse = np.sum((y_pred - y_actual)**2) | |
# root mean squared error | |
# m is the number of training examples | |
rmse = np.sqrt(mse/m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment