Last active
October 2, 2021 02:54
-
-
Save Pythonista7/de6e176df9150191101d7748c5d56f92 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
def model(X): | |
ŷ = processing(X) | |
return ŷ | |
def doML(X,y): | |
while(!ModeIsGood): | |
predicted = model(X) | |
error = minimize(predicted - y) | |
if( almostEquals(predicted , y) ): | |
ModeIsGood = true | |
break | |
else: | |
minimize(error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment