CatBoost Decision-tree gradient-boosting library with categorical feature processing and qualified multi-format model export.
Overview CatBoost is an open-source gradient-boosting library for decision trees, used for classification, regression and ranking. It supports numerical and categorical inputs as well as documented text and embedding feature workflows, with Python, R and command-line training interfaces.[1] [2]
Contents Modeling workflow CatBoost provides training, cross-validation, model analysis and prediction components rather than a standalone visual analytics workbench. Its categorical processing derives numeric features from categories and combinations; it can also use internal one-hot encoding for sufficiently small category sets. The developer documentation advises against externally one-hot-encoding all categorical inputs as a default preparation step.[1] [2]
Categorical processing conditions Category handling is not identical across every training mode. Internal one-hot thresholds depend on the objective and device, and CPU pairwise-scoring modes do not support that mechanism. Some categorical statistics require target data. When such data is unavailable, the documented GPU path relies on one-hot features while the CPU path ignores categorical features. A migration must therefore check the selected objective and data, not just the presence of a categorical-column option.[2]
Prediction schema Prediction inputs must contain the features used by the model. Ordinarily their column order must match training, but named features supplied at both stages can instead be matched by name in supported inputs such as Pool or dataframe objects. Retaining names and feature definitions is therefore useful when preparing an application interface or moving data between table-processing systems.[3]
Inference interoperability An ONNX-ML export is an inference artifact for an ONNX runtime, not a model that CatBoost itself can apply again. Its documented numeric-feature restriction means that a model's successful training does not establish that this deployment route is available. Model storage and deployment-format selection should therefore be treated as separate decisions, particularly for mixed categorical and numeric datasets.[5]
Availability and licensing The library uses Apache License 2.0. Python installation requires 64-bit CPython, with documented wheels for Windows, Linux and macOS on specified architectures. Linux and Windows releases include CUDA support, whereas macOS wheels do not. GPU training is nondeterministic because floating-point summations may occur in different orders; CPU and GPU parameters also differ in some cases.[1] [6] [7] [8]
Substitution considerations CatBoost is a candidate substitute for LightGBM in tabular classification or regression. The substitution involves training a new model, adapting feature handling and checking the intended export route. Shared gradient-boosting terminology does not imply compatible artifacts or equal predictions. No comparative speed, accuracy or hands-on compatibility result is claimed here.[1] [4] [9]
References CatBoost repository Library purpose, interfaces and Apache 2.0 licensing
vendor · retrieved 2026-10-07 Categorical features Internal transformations, one-hot thresholds and CPU/GPU conditions
vendor · retrieved 2026-10-07 Python prediction Feature order and name matching
vendor · retrieved 2026-10-07 Python save_model CBM, format restrictions and training Pool requirement
vendor · retrieved 2026-10-07 ONNX-ML export Numeric-only export and inability to apply exported ONNX in CatBoost
vendor · retrieved 2026-10-07 Python package installation 64-bit CPython and GPU/custom-function prerequisites
vendor · retrieved 2026-10-07 Python wheels Platform and architecture matrix
vendor · retrieved 2026-10-07 Training on GPU GPU nondeterminism and device-specific parameters
vendor · retrieved 2026-10-07 LightGBM features Classification, regression and categorical trees
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.