CodingTrain / CodingTrain/Toy-Neural-Network-JS
NeuralNetwork (de)serialization does not preserve activation function
Open
- Dominant language
- JavaScript
- Stars
- 437
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
Currently the (de)serialization features of the NeuralNetwork library does not preserve the activation function. The default activation function (currently sigmoid) will be used after deserialization.
This could be fixed by adding a `replacer` function to [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.