We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Started here: BrainJS/brain.js#5 (comment)
The text was updated successfully, but these errors were encountered:
Following up from the linked issue, input data as an array of numbers seems to break the retro() function.
var net = new brain.NeuralNetwork(); net.train([ {input: [0, 0], output: [0]}, {input: [0, 1], output: [1]}, {input: [1, 0], output: [1]}, {input: [1, 1], output: [0]} ]); var output = net.run([1, 0]); console.log('out', output);// [0.933] console.log('retro', retro(output, net));// {2: NaN}
Sorry, something went wrong.
oh nice, I see what you did there
In addition, my real world output is more like:{isIt:1}
No branches or pull requests
Started here: BrainJS/brain.js#5 (comment)
The text was updated successfully, but these errors were encountered: