CodingTrain / CodingTrain/Toy-Neural-Network-JS
Adjust at the end
- 主要言語
- JavaScript
- スター
- 437
- フォーク
- 242
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I don't know if it was already said, but it is still not fixed in the code.
When you are training your model, you calculate the weights_deltas between hidden layer and output layer.
But you are updating your weights too early, you are using the new weights to calculate deltas for previous weights (for back-propagation).
You have to keep deltas in memory then update at the end after the rest.
That's why your model takes a lot of time to be trained for the XOR problem. It shouldn't be that long. By memory you have took 50000 iterations. That is too big for a problem like this.
Keep going ^^.
P.S.: Sorry if my english is not perfect, it is not my main natural language.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、リポジトリ内の training と back-propagation のコードを見つけ、issue に記載されている XOR のケースを再現します。完全な back-propagation ステップが完了するまで重みのデルタが利用可能な状態であることを確認し、その後、XOR の training が 50000 回の反復を必要とせずに収束することを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100