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.

ClassClass purposeMethodDescription
CatBoost

Training and applying models.

staged_predict

Apply the model to the given dataset and calculate the results for each i-th tree of the model taking into consideration only the trees in the range [1;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. When using the applying methods only the probability that the object belongs to the class is returned. 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.