Open JudeWells opened 9 months ago
I'm also having the same issue
我也有同样的问题
You can fix this by setting the base_score parameter in your xgboost model before passing to m2cgen: model = xgb.XGBClassifier(n_estimators=10, max_depth=3, base_score=0.5)
You can fix this by setting the base_score parameter in your xgboost model before passing to m2cgen: model = xgb.XGBClassifier(n_estimators=10, max_depth=3, base_score=0.5)
how can i choose the value of base_score
Works fine with XGBoostRegressor
Full trace:
Using m1 MacBook pro. xgboost version '2.0.3' (also got the same error using older version)