Created
October 24, 2018 15:08
-
-
Save muhammadgaffar/21268cd972cccebd7682457d17f1c6c8 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 loss(Y_hat,Y): | |
if Y = 1: | |
return Y_hat | |
if Y = 0: | |
return 1-Y_hat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment