Last active
January 8, 2022 10:05
-
-
Save Chiraagkv/183da087ecc0d71e2a72184f332e5bb9 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
def cost_function(y_preds, y_true): | |
return sum((y_preds - y_true) ** 2) / len(y_preds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment