CompactRegressionXGBoost
Description
Pretrained XGBoost model for regression. Use the compact regression XGBoost model for making predictions (regressions) of new data.
Creation
Create a CompactRegressionXGBoost object by importing a pretrained
regression XGBoost model using importModelFromXGBoost.
Properties
Object Functions
gather | Gather properties of Statistics and Machine Learning Toolbox object from GPU |
lime | Local interpretable model-agnostic explanations (LIME) |
loss | Regression error for XGBoost model |
partialDependence | Compute partial dependence |
plotPartialDependence | Create partial dependence plot (PDP) and individual conditional expectation (ICE) plots |
predict | Predict responses using regression XGBoost model |
predictorImportance | Estimates of predictor importance for XGBoost model |
shapley | Shapley values |
Examples
Tips
For CompactRegressionXGBoost, the
Trained property of Mdl stores a
Mdl.NumTrained-by-1 cell vector of compact regression
tree models. For a textual or graphical display of tree t in the
cell vector, enter view(Mdl.Trained{t})
Extended Capabilities
Version History
Introduced in R2026a