Support multi-metric in LightGBMTuner
and LightGBMTunerCV
#143
Labels
contribution-welcome
Issue that welcomes contribution.
feature
Change that does not break compatibility, but affects the public interfaces.
Motivation
Although it is possible to record multiple metric in the original
LightGBM
(see the official docs),LightGBMTuner
andLightGBMTunerCV
does not support it. Currently, they just silently utilizes the last metric as the objective herehttps://github.com/optuna/optuna/blob/d3fb04fcf41aa1ba6895a22a7b84c55ffdf1cf39/optuna/integration/_lightgbm_tuner/optimize.py#L83-L86 when multiple metrics are given.
Description
_BaseTuner._get_metric_for_objective()
.Alternatives (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: