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!