Created
May 23, 2020 03:09
-
-
Save cedricconol/887637af10679b4516966e70a593b2e2 to your computer and use it in GitHub Desktop.
Linear regression TF2 MSE
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
def mse(self, true, predicted): | |
return tf.reduce_mean(tf.square(true-predicted)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment