Created
August 20, 2019 00:07
-
-
Save luiscarbonell/924bacbbdfd883825f107cecc5e5f349 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
const train = (iterations=1) => { | |
while(iterations > 0) { | |
dataset.map(datum => { | |
activate(datum.inputs); | |
propagate(datum.outputs); | |
}); | |
iterations--; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment