CodingTrain / CodingTrain/Toy-Neural-Network-JS
Bias variable names are a little confusing
- 主要言語
- JavaScript
- スター
- 437
- フォーク
- 242
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
リポジトリで `bias_o` と `bias_h` を検索し、バイアス更新コードと周辺の変数定義を確認します。変数の名前を一貫して変更し、出力に接続されたバイアスが `bias_h` を、hidden に接続されたバイアスが `bias_i` を使用するようにしつつ、既存の更新は維持します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- machine-learning
- issue の種類
- リファクタリング
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100