How to implement "sgdm" training option with "train()"?

I need help implementing the "stochastic gradient descent with momentum" (sgdm) training option (including custom L2Regularization and MiniBatchSize), however I am using "newff" to create the network, hence "train()" to train the network. I know that the "trainingOptions" function is associated with "trainNetwork" so I cannot use that. Is there any way to implement this without recreating the NN with current functions?

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2019a

提问:

2019-10-22

Community Treasure Hunt

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

Start Hunting!

Translated by