Reduce learning rate after certain number of epoch
조회 수: 6 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Sivylla Paraskevopoulou
2022년 10월 18일
Check out the example Specify Training Options to see how to reduce the learning rate after a certain number of epochs.
댓글 수: 2
Francisco Serra
2024년 2월 1일
train requires rlTrainingOptions and this one doesn't have that decayment option. Do you any have a tip?
Nicolas CRETIN
2024년 7월 29일
Hi Francisco,
Check this out, this should help: Learning rate schedule - Reinforcement Learning Toolbox - MATLAB Answers - MATLAB Central (mathworks.com)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!