CodingTrain / CodingTrain/Toy-Neural-Network-JS

NeuralNetwork (de)serialization does not preserve activation function

Offen
#96 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
437
Forks
242
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start at the NeuralNetwork serialization and deserialization implementation, then inspect the JSON.stringify call mentioned in the issue. Done means a serialized network restores its original activation function rather than defaulting to sigmoid; verify the relevant serialization behavior with the project’s existing checks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
machine-learning
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.