CodingTrain / CodingTrain/Toy-Neural-Network-JS
Bias variable names are a little confusing
- Lingua principale
- JavaScript
- Stelle
- 437
- Fork
- 242
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The bias nodes exist only in pre-output layers, but for example, the weight connected the the hidden bias neuron is called `bias_o`. This confused me a lot, so I think it is easier to understand `bias_o` as `bias_h` and `bias_h` as `bias_i`. This way I think it's easier to read the code that updates the biases, since the gradient from the output layer, for example, is mapped to the bias in the *previous* layer, as the process of backpropagation might suggest by its name.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Cerca nel repository `bias_o` e `bias_h`, quindi esamina il codice di aggiornamento dei bias e le definizioni delle variabili circostanti. Rinomina le variabili in modo coerente, così che il bias connesso all'output usi `bias_h` e il bias connesso alla hidden usi `bias_i`, mantenendo gli aggiornamenti esistenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- machine-learning
- Tipo di issue
- Refactoring
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100