dmlc / XGBoost.jl

XGBoost Julia Package
Other
288 stars 110 forks source link

Fix `importance` when no features are used #135

Closed JackDunnNZ closed 1 year ago

JackDunnNZ commented 1 year ago

In updating some code to v2, I ran into cases where a booster ended up as a null model and then importance would fail because fns here was empty.

ExpandingMan commented 1 year ago

Does github automatically rebase this or what? I'm not too sure how that works.

Oh well, let's find out.

JackDunnNZ commented 1 year ago

Thanks @ExpandingMan !