Created
March 22, 2018 22:35
-
-
Save micheleriva/4c0aafb2706e4638690783b957dbc7f8 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 brain = require('brain.js') | |
const trainData = require('./src/training-data') | |
const serializer = require('./src/serializer') | |
const net = new brain.NeuralNetwork() | |
net.train(serializer.serialize(trainData), {log: true}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment