software · Q279
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]
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]
Model storage and export
CBM is the native binary format. Other outputs include JSON, standalone Python or C++, CoreML, ONNX-ML and PMML, but those routes are conditional. The save_model reference requires a training Pool for categorical models exported as C++, Python or usable JSON. ONNX and CoreML exclude categorical features; PMML categorical export requires one-hot treatment during training. These requirements can affect training choices before a model is ready for deployment.[4]
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]
Capabilities & limitations
Categorical feature processing
supportedBuilds internal numeric features from categorical inputs; one-hot behavior depends on training mode and available target data.[2]
Boosted-tree classification and regression with mixed feature types · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Internal transformations, one-hot thresholds and CPU/GPU conditions
vendor · checked 2026-10-07Model export
limitedNative CBM and additional exports are available; ONNX/CoreML exclude categorical features and some exports require the training Pool.[4][5]
Boosted-tree classification and regression with mixed feature types · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
CBM, format restrictions and training Pool requirement
vendor · checked 2026-10-07Numeric-only export and inability to apply exported ONNX in CatBoost
vendor · checked 2026-10-07GPU training
limitedReleased Linux/Windows packages support CUDA, but GPU training is nondeterministic and some parameters differ from CPU execution.[6][8]
Boosted-tree classification and regression with mixed feature types · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
64-bit CPython and GPU/custom-function prerequisites
vendor · checked 2026-10-07GPU nondeterminism and device-specific parameters
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
LightGBM for Boosted-tree classification and regression with mixed feature types
limitedCan replace LightGBM for boosted-tree classification or regression when retraining and revising categorical preprocessing are acceptable. Export support, accelerator availability and validation results require separate evaluation.[1][2][4][9]
Windows, macOS, Linux · Version, build and integration requirements apply
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
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 264 | 2026-10-10 18:23:43 | /* wbeditentity-create-item:0| */ sf:2bf3f11c-8f20-4219-8491-7a351e44cb7d:v1 | Add CatBoost with feature-name/order matching, categorical transformation limits, export prerequisites and GPU nondeterminism. | attribution: /proposals/2bf3f11c-8f20-4219-8491-7a351e44cb7d |