Closed jborchma closed 4 years ago
Oh no ... It's a bug in training.
This is an interesting bug that only surfaces when eval_metric
is a list. See #5341 for the fix.
Wow, fast turnaround! Thanks for looking into this!
@jborchma The issue is fixed in 1.0.2 release.
Thanks so much for the help! Looking forward to using 1.0.2!
Hey XGBoost team,
I upgraded recently to the latest version 1.0.1 and stumbled upon a possible bug with a piece of code that was running fine with version 0.9. It seems that when one supplies a list of evaluation metrics to
eval_metrics
, thefit
-method fails.A minimal example would be
The error trace reads:
Also, just to confirm, this works perfectly fine:
Is this an intended change? Because the docs still imply that one could supply a list of evaluation metrics. I checked this both on OS X as well as an Linux server, so it seems to be independent of the system it runs on.