Reduce learning rate after certain number of epoch

4 visualizzazioni (ultimi 30 giorni)
Hi, I have a question about reducing the learning rate or another way to enhance accuracy during training a deep learning model.
Suppose the loss metric does not improve after a defined epoch (for example 8). Is there a way to reduce the learning rate?
or
If the accuracy metric (or loss metric) fails to improve after a certain number of epochs, give another solution to improve accuracy.
Thank you all for your time and consideration

Risposte (1)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou il 18 Ott 2022
Check out the example Specify Training Options to see how to reduce the learning rate after a certain number of epochs.
  2 Commenti
Francisco Serra
Francisco Serra il 1 Feb 2024
Hey @Sivylla Paraskevopoulou what about REINFORCEMENT LEARNING TRAINING?
train requires rlTrainingOptions and this one doesn't have that decayment option. Do you any have a tip?

Accedi per commentare.

Categorie

Scopri di più su Get Started with Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by