Scikit-Learn API#
XGBRegressor#
Constructor#
|
Implementation of the scikit-learn API for XGBoost regression. |
Attributes#
|
Return the predicted leaf every tree for each sample. |
Return the evaluation results. |
|
|
Fit gradient boosting model. |
Get the underlying xgboost Booster of this model. |
|
Gets the number of xgboost boosting rounds. |
|
|
Get parameters. |
Get xgboost specific parameters. |
|
|
Load the model from a file or bytearray. |
|
Predict with X. |
|
Save the model to a file. |
|
Set the parameters of this estimator. |
XGBClassifier#
Constructor#
|
Implementation of the scikit-learn API for XGBoost classification. |
Attributes#
|
Return the predicted leaf every tree for each sample. |
Return the evaluation results. |
|
|
Fit gradient boosting classifier. |
Get the underlying xgboost Booster of this model. |
|
Gets the number of xgboost boosting rounds. |
|
|
Get parameters. |
Get xgboost specific parameters. |
|
|
|
|
|
|
Predict the probability of each X example being of a given class. |
|
Save the model to a file. |
|
Return the mean accuracy on the given test data and labels. |
|
Set the parameters of this estimator. |