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 ExchangeGet Started with 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