Skip to content

LightGBMPruningCallback metric direction may conflict with objective value #5348

Answered by nzw0301
YingJie-Zhao asked this question in Q&A
Discussion options

You must be logged in to vote

Short answers: Yes (but this never happens with the example above, I think) and Yes.

Thank you for your questions. Indeed, the example script from optuna-examples seems not good. In my understanding, the intermediate values should be the same metric as the objective value, especially, when a sampler cares the pruned trials; #3542 and #1647 explain why this matters. Even not, at least they should have the same direction. If they are not consistent like the first question's setting, the pruner will stop optimisations for good trails (maybe best trial too) because the pruner uses direction in study; pruners treat trials having lower logloss intermediate values as bad trails, which actually g…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nzw0301
Comment options

Comment options

You must be logged in to vote
1 reply
@YingJie-Zhao
Comment options

Answer selected by YingJie-Zhao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants