How do you select the right number of epoch & learning rate?

How do you select the right number of epoch & learning rate?

There’s no right number of epochs or learning rate, these are called hyperparameters and the idea is you try multiple combinations of them and see which one works best and loss function is minimum. But to start with, keep learning rate low, like 0.01 or 0.001, but maybe keep the number of epochs between 20 to 50. It’s just to start with, your guess would be as good as mine.

1 Like