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?

Respuestas (0)

Categorías

Más información sobre Get Started with Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 22 de Oct. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by