-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Model #78
Comments
Tribuo doesn't expose the XGBoost4J If you want to train the model in Tribuo and load it in another system then we're considering ONNX export support. We can look at exposing the internal Boosters too. |
how can I export using ONNX? |
You can't yet. The onnx model converters are all written in python, so we need to figure out how to build equivalent operations in Java using the onnx c API. However PR #79 does expose the internal Booster objects so you can save those using the XGBoost4J API. |
Ok, thanks, I will try. |
Hi there,
I have a XGBoost model like this:
var trainer = new XGBoostRegressionTrainer(XGBoostRegressionTrainer.RegressionType.LINEAR, 50,50,true);
var model = trainer.train(trainData);
and I want to save him and load him like this but I didn't manage
The text was updated successfully, but these errors were encountered: