You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function xgboost.dask.predict assumes that the shape of it's output is always (n_rows, ), but for multiclass classification it would be (n_rows, n_classes).
I don't know what the maintainers would consider an idiomatic solution, but something like this works (but is gross). I'm not familiar enough with the serialized configuration to know if those keys exist for other learners/if a KeyError would be raised by some set of params that I'm unfamiliar with.
The function
xgboost.dask.predict
assumes that the shape of it's output is always(n_rows, )
, but for multiclass classification it would be(n_rows, n_classes)
.Here's a minimum working example:
The offending line is this one
I don't know what the maintainers would consider an idiomatic solution, but something like this works (but is gross). I'm not familiar enough with the serialized configuration to know if those keys exist for other learners/if a
KeyError
would be raised by some set of params that I'm unfamiliar with.Happy to provide any clarifications if this isn't clear enough.
The text was updated successfully, but these errors were encountered: