[scikit-learn compatibility] Raise `NotFittedError` on errors when estimator is expected to be fitted for scikit-learn estimator API functions
Author: andrey-khropovCreated Jan 9, 2026Updated Sep 18, 2026
Labelssklearn_compatibilitypython
Right now a generic CatBoostError is raised.
This could be a little tricky if we want to continue to be able to work without scikit-learn as well.
Source: catboost/catboost