dask / dask-xgboost

BSD 3-Clause "New" or "Revised" License
162 stars 43 forks source link

normalize_estimator function trying to access non-existent attribute #72

Closed blinickg closed 4 years ago

blinickg commented 4 years ago

See thread here: https://github.com/dask/dask-ml/issues/667

Proposing a change to subclass AttributeError to make it clear that you're accessing a non-existent attribute when calling the normalize_estimator function before training.

TomAugspurger commented 4 years ago

@blinickg I believe this should go in https://github.com/dmlc/xgboost, not here :) That's where the XGBoostError is raised.

blinickg commented 4 years ago

Ah, OK. Thanks @TomAugspurger