how to choose the optimumize values of the training option

Dear all I have a question, I am using Transfer Learning of the pretraining Deep learning networks I would like to know how to choose the optimum values of the training options (Solver, initial learning rate, max epoch, miniBatchsize etc) should I keep trying different values or choosing the default values, please

Answers (1)

Hi,
You can consider using Bayesian optimization in order to find optimal network parameters. Bayesian optimization is an algorithm well suited to optimizing hyperparameters of classification and regression models.
You can refer to the following MathWorks documentation for more details related to Bayesian optimization:
If Bayesian optimization does not suits your use case, you can consider other optimization techniques like grid search or randomized search optimization. You can refer to the following MathWorks documentation for more details:
I hope this helps.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 6 Feb 2022

Answered:

on 20 Nov 2024

Community Treasure Hunt

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

Start Hunting!