Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save luiscarbonell/924bacbbdfd883825f107cecc5e5f349 to your computer and use it in GitHub Desktop.
Save luiscarbonell/924bacbbdfd883825f107cecc5e5f349 to your computer and use it in GitHub Desktop.
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