XGBoost
You can convert a trained XGBoost model to Core ML format.
# Convert it with default input and output names
import coremltools as ct
coreml_model = ct.converters.xgboost.convert(model)
# Saving the Core ML model to a file.
coreml_model.save('my_model.mlmodel')
For more information, see the API reference.
Updated almost 4 years ago
Did this page help you?