Replies: 1 comment 3 replies
-
Your understanding is right to use the last value rather than the best value. This one needs to be discussed #3542 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am new to
optuna
, and I am confused about the return value of the objective function.In this pytorch example
The program executes
trial.report
in every epoch to determine whether this trial should be pruned or not. It returns the last accuracy value upon completion of the trial. However, there is confusion regarding the return value. As far as I understand, the validation metric may fluctuate or even bounce back during training. It would be more logical to return the best validation metric instead of the last one. Is there a specific reason for choosing the last result over the best validation result or is there something I am missing?Thank you
Beta Was this translation helpful? Give feedback.
All reactions