Does Matlab classification learner app allow changes to hyperparameters such as epoch and learning rate?

5 次查看(过去 30 天)
Hi,
i currently exploring both machine learning and deep learning in Matlab. I notice that when i try to train CNN in deep learning, i could modify the epoch, learning rate and batch size in trainingOptions such as code below.
options = trainingOptions('sgdm', ...
'MiniBatchSize',miniBatchSize, ...
'MaxEpochs',3, ...
'InitialLearnRate',1e-4,
'Plots','training-progress');
However, when i using classification learner app the UX is better but there is no options for me to tune the hyperpareters such as epoch as the training is done automatically and very fast.
So back to my questions, is there any setting that allow me to tune the hyperparameters such as epoch and learning rate in classification learner app?
Hope someone could help to clarify. Thank you.

回答(1 个)

Abhijeet
Abhijeet 2022-7-10
Hi, Teo
I understand that you wanted to explore tuning hyperparameters in the Classification learner application.
Classification learner application provides an option called "optimizer" though which you can tune the hyper-parameters.
You can find the option "optimizer" in the top panel.
To understand the various parameters available for tuning, you can kindly refer to below mentioned documentation:

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by