How to use a userdefined algorithm for training DNN or within trainNetwork?
1 次查看(过去 30 天)
显示 更早的评论
How to use a userdefined algorithm for training DNN or within trainingOptions?
Currently, it seems that only three options can only be available: "TrainingOptionsSGDM | TrainingOptionsRMSProp | TrainingOptionsADAM".
Thank you.
0 个评论
回答(1 个)
Sai Pavan
2023-9-28
Hi Shashi Kant,
I understand that you are trying to use a custom algorithm for training a deep neural network.
You can create a custom training loop using “dlnetwork” object that allows automatic differentiation. Please refer to the below documentation to learn more about defining deep learning networks for custom training loops:
You can also follow the workflow shown in the below example to train a deep neural network using custom algorithm:
Hope it helps.
Regards,
Sai Pavan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!