CodingTrain / CodingTrain/Toy-Neural-Network-JS
Unexpected behavior on adding multiple hidden layers
- Lingua principale
- JavaScript
- Stelle
- 437
- Fork
- 242
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I've modified the NeuralNetwork code so the class constructor receives the number of hidden layers and the number of nodes per hidden layer, also modifying the guess and training functions to work with multiple hidden layers. It seems to work but, in the XOR example, as I create NNs with increasing number of hidden layers, the results come back wrong more and more frequently, to the point of at 5 hidden layers I always get wrong answers. Is it something I should expect or maybe there's something wrong with my implementation? My code: https://pastebin.com/iF8UVhSU
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia con l’implementazione di NeuralNetwork incollata, concentrandoti sulle funzioni constructor, guess e training, quindi riproduci il comportamento nell’esempio XOR aumentando il numero di livelli nascosti. Il lavoro è completato quando viene stabilito se il peggioramento dei risultati XOR è previsto oppure viene identificato il problema di implementazione che causa le risposte errate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100