How do I train an existing shallow neural network with new data?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a trained shallow NN that I want to retrain using new experimental data in order to improve the generalization capability of the network. I dont want to reinitialize and train the whole network from scratch. I want the network to adapt itself to the new data. If I use the train function, does it forget the weights and biases of the previous network.
How do I do this? Please help.
0 件のコメント
採用された回答
Matt J
2023 年 12 月 24 日
編集済み: Matt J
2023 年 12 月 24 日
No, it does not forget them, as seen from this example, which talks about resuming a previous training attempt,
If it forgot the weights and biases, resuming would not be possible this way.
2 件のコメント
Matt J
2023 年 12 月 24 日
It would be best to include all of the original training set. Otherwise, the weights will forget the data you omit as the algorithm iterates.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!