Open alyst opened 1 year ago
I'm sure I thought having the generic method was terribly clever when I first wrote it but I agree this is too much of a footgun. I'll have to go through it a little carefully to make sure we have the right methods.
If anybody else wants to fix, I will accept the PR.
On XGBoost.jl v2.0.0 the command
xgmodel = xgboost(train_dmtx, 5000, gamma = 1)
givesThe method in question is
It is supposed to call the more specific
updateone!(b::Booster, data::DMatrix, ...)
, but it also requires that thea...
args match the signature of the more specific method, otherwise it will recurse.