-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
What is wrong?
Export/Import functionality of the library is not working, the JSON is not in the correct format to be considered JSON.
Where does it happen?
Windows 10 node version 8
How do we replicate the issue?
`const brain = require('brain.js);
var net = new brain.recurrent.RNN();
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([0, 0]); // [0]
output = net.run([0, 1]); // [1]
output = net.run([1, 0]); // [1]
output = net.run([1, 1]); // [0]
console.log(net.toJSON()) // JSON is in incorrect format, am i missing something?
`
How important is this (1-5)?
4 - love this library but can't use it for Production use cases until i can export/import
Expected behavior (i.e. solution)
JSON is exported in valid format
Other Comments
N/A - love this Library tho
Metadata
Metadata
Assignees
Labels
No labels