FLAML
FLAML copied to clipboard
use_label_encoder warning with xgboost
Currently, when using using flaml with xgboost, there is always a warning about
UserWarning: `use_label_encoder` is deprecated in 1.7.0.
As per discussion on xgboost forum use_label_encoder options should be removed it seems?
A quick search on the repo's source code yield:
The issue can be solved by commenting this line: https://github.com/microsoft/FLAML/blob/784c4c4f86e8b0c6abeb411f06b3a1b78a74980b/flaml/automl/model.py#L1513 Would you like to make a PR?
Sure, I will draft one
Sure, I will draft one
https://github.com/microsoft/FLAML/pull/1122