Staged prediction

CatBoost allows to apply a trained model and calculate the results for each i-th tree of the model taking into consideration only the trees in the range [1;i].

Choose the implementation for more details.

Class Class purpose Method Description
CatBoost

Training and applying models.

staged_predict

Apply the model to the given dataset and calculate the results taking into consideration only the trees in the range [0; i).

CatBoostRegressor

Training and applying models for the regression problems. When using the applying methods only the predicted class is returned. Provides compatibility with the scikit-learn tools.

staged_predict
CatBoostClassifier

Training and applying models for the classification problems. Provides compatibility with the scikit-learn tools.

staged_predict
staged_predict_proba

The same as staged_predict with the difference that the results are probabilities that the object belongs to the positive class.

Class Class purpose Method Description
CatBoost

Training and applying models.

staged_predict

Apply the model to the given dataset and calculate the results taking into consideration only the trees in the range [0; i).

CatBoostRegressor

Training and applying models for the regression problems. When using the applying methods only the predicted class is returned. Provides compatibility with the scikit-learn tools.

staged_predict
CatBoostClassifier

Training and applying models for the classification problems. Provides compatibility with the scikit-learn tools.

staged_predict
staged_predict_proba

The same as staged_predict with the difference that the results are probabilities that the object belongs to the positive class.