BrainJS / BrainJS/train-stream
train-stream does not support the Recurrent class
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I tried to configure a Recurrent network to use train-stream, but ran into the following error:
```
one-brain-1 | node:internal/event_target:1037
one-brain-1 | process.nextTick(() => { throw err; });
one-brain-1 | ^
one-brain-1 |
one-brain-1 | TypeError [Error]: neuralNetwork.updateTrainingOptions is not a function
one-brain-1 | at new TrainStream (/one/node_modules/train-stream/dist/index.js:41:23)
one-brain-1 | at MessagePort. (file:///one/src/encoder.js:57:29)
one-brain-1 | at [nodejs.internal.kHybridDispatch] (node:internal/event_target:762:20)
one-brain-1 | at exports.emitMessage (node:internal/per_context/messageport:23:28)
one-brain-1 | Emitted 'error' event on Worker instance at:
one-brain-1 | at [kOnErrorMessage] (node:internal/worker:326:10)
one-brain-1 | at [kOnMessage] (node:internal/worker:337:37)
one-brain-1 | at MessagePort. (node:internal/worker:232:57)
one-brain-1 | at [nodejs.internal.kHybridDispatch] (node:internal/event_target:762:20)
one-brain-1 | at exports.emitMessage (node:internal/per_context/messageport:23:28)
one-brain-1 |
one-brain-1 | Node.js v20.3.1
```
I was unsure if this was a known issue. The docs say nothing about supporting the Recurrent class, nor do I even think the class is ready, in vanilla Brain.js? I'm not sure, but I've struggled to make one of these networks work in any environment.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.