Does 'traingd' function in nntraintool implement plain vanilla gradient descent? Or does it change the learning rate adaptively?
1 回表示 (過去 30 日間)
古いコメントを表示
hiddenlayersize = [5 5];
net = fitnet(hiddenlayersize,'traingd');
0 件のコメント
回答 (1 件)
Gayathri
2024 年 12 月 23 日
The 'traingd' training function implements vanilla gradient descent. If you want to implement "Variable Learning Rate Gradient Descent" then you can use 'traindx' function.
For knowing about different training functions that can be used with "fitnet" function, please access the documentation with the following command.
doc fitnet
Hope this helps!
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!