Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed (de)serialization to include activation function.
This fixes CodingTrain#96 by using a `replacer` on serialization to preserve the activation function as a string. On deserialization the function string is `eval()`-ed. This is dangerous as malicious code could be executed. Might be possible to port this to using `new Function()` instead.
- Loading branch information