brain.recurrent.LSTM() is not working #732
-
I took an example from brain.js.org, but got error when tried to use it. Error occurs because of this line: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Try now. There were a lot of complications when we upgraded to Typescript. Also, if you continue to have issues, post some of your training data. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue also import brain from "brainjs";
const trainingData = [
[1, 2, 3, 4, 5],
[5, 4, 3, 2, 1],
];
const net = new brain.recurrent.LSTM();
net.train(trainingData, {
log: (status) => {
console.log(status);
},
});
|
Beta Was this translation helpful? Give feedback.
Try now. There were a lot of complications when we upgraded to Typescript. Also, if you continue to have issues, post some of your training data.