AutoML does not pass proper objective
to estimator_class
when metric
is non-default.
#1327
Labels
bug
Something isn't working
Currently, neither
search_space
norget_params
inLGBMEstimator
passesobjective
to theparams
.FLAML/flaml/automl/model.py
Lines 1266 to 1309 in a68d073
As a result, the objective of the underlying model is always the default value
reg:squarederror
, even when themetric
ismape
or other non-default value.Ideally,
objective
should be either configured in the search space or derived frommetric
.The text was updated successfully, but these errors were encountered: