Does 'traingd' function in nntraintool implement plain vanilla gradient descent? Or does it change the learning rate adaptively?

6 vues (au cours des 30 derniers jours)
hiddenlayersize = [5 5];
net = fitnet(hiddenlayersize,'traingd');

Réponses (1)

Gayathri
Gayathri le 23 Déc 2024
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!

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by