{"schemaVersion":"1.0","record":{"label":"CatBoost","description":"Decision-tree gradient-boosting library with categorical feature processing and qualified multi-format model export.","aliases":[],"kind":"software","website":"https://catboost.ai/","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.","license":"Open source under Apache License 2.0.","lifecycle":"active","example":false,"features":[{"name":"Categorical feature processing","status":"supported","detail":"Builds internal numeric features from categorical inputs; one-hot behavior depends on training mode and available target data.","useCase":"Boosted-tree classification and regression with mixed feature types","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://catboost.ai/docs/en/features/categorical-features","locator":"Internal transformations, one-hot thresholds and CPU/GPU conditions","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"}]},{"name":"Model export","status":"limited","detail":"Native CBM and additional exports are available; ONNX/CoreML exclude categorical features and some exports require the training Pool.","useCase":"Boosted-tree classification and regression with mixed feature types","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://catboost.ai/docs/en/concepts/python-reference_catboost_save_model","locator":"CBM, format restrictions and training Pool requirement","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/apply-onnx-ml","locator":"Numeric-only export and inability to apply exported ONNX in CatBoost","retrievedAt":"2026-10-07T16:51:35Z","kind":"vendor"}]},{"name":"GPU training","status":"limited","detail":"Released Linux/Windows packages support CUDA, but GPU training is nondeterministic and some parameters differ from CPU execution.","useCase":"Boosted-tree classification and regression with mixed feature types","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://catboost.ai/docs/en/concepts/python-installation","locator":"64-bit CPython and GPU/custom-function prerequisites","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"},{"url":"https://catboost.ai/docs/en/features/training-on-gpu","locator":"GPU nondeterminism and device-specific parameters","retrievedAt":"2026-10-07T17:00:21Z","kind":"vendor"}]}],"alternatives":[],"slug":"catboost","draftAlternatives":[{"targetSlug":"lightgbm","status":"limited","detail":"Can 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.","useCase":"Boosted-tree classification and regression with mixed feature types","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/catboost/catboost","locator":"Library purpose, interfaces and Apache 2.0 licensing","retrievedAt":"2026-10-07T17:00:35Z","kind":"vendor"},{"url":"https://catboost.ai/docs/en/features/categorical-features","locator":"Internal transformations, one-hot thresholds and CPU/GPU conditions","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"},{"url":"https://lightgbm.readthedocs.io/en/stable/Features.html","locator":"Classification, regression and categorical trees","retrievedAt":"2026-10-07T16:58:47Z","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/python-reference_catboost_save_model","locator":"CBM, format restrictions and training Pool requirement","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/catboost/catboost","locator":"Library purpose, interfaces and Apache 2.0 licensing","retrievedAt":"2026-10-07T17:00:35Z","kind":"vendor"},{"url":"https://catboost.ai/docs/en/features/categorical-features","locator":"Internal transformations, one-hot thresholds and CPU/GPU conditions","retrievedAt":"2026-10-07T17:00:00Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/catboost/catboost","locator":"Library purpose, interfaces and Apache 2.0 licensing","retrievedAt":"2026-10-07T17:00:35Z","id":"repo","title":"CatBoost repository","kind":"vendor"},{"url":"https://catboost.ai/docs/en/features/categorical-features","locator":"Internal transformations, one-hot thresholds and CPU/GPU conditions","retrievedAt":"2026-10-07T17:00:00Z","id":"cats","title":"Categorical features","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/python-reference_catboost_predict","locator":"Feature order and name matching","retrievedAt":"2026-10-07T17:00:21Z","id":"predict","title":"Python prediction","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/python-reference_catboost_save_model","locator":"CBM, format restrictions and training Pool requirement","retrievedAt":"2026-10-07T17:00:00Z","id":"save","title":"Python save_model","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/apply-onnx-ml","locator":"Numeric-only export and inability to apply exported ONNX in CatBoost","retrievedAt":"2026-10-07T16:51:35Z","id":"onnx","title":"ONNX-ML export","kind":"vendor"},{"url":"https://catboost.ai/docs/en/concepts/python-installation","locator":"64-bit CPython and GPU/custom-function prerequisites","retrievedAt":"2026-10-07T17:00:00Z","id":"install","title":"Python package installation","kind":"vendor"},{"url":"https://catboost.ai/docs/en/installation/python-installation-method-pip-install","locator":"Platform and architecture matrix","retrievedAt":"2026-10-07T17:00:35Z","id":"wheels","title":"Python wheels","kind":"vendor"},{"url":"https://catboost.ai/docs/en/features/training-on-gpu","locator":"GPU nondeterminism and device-specific parameters","retrievedAt":"2026-10-07T17:00:21Z","id":"gpu","title":"Training on GPU","kind":"vendor"},{"url":"https://lightgbm.readthedocs.io/en/stable/Features.html","locator":"Classification, regression and categorical trees","retrievedAt":"2026-10-07T16:58:47Z","id":"target","title":"LightGBM features","kind":"vendor"}],"overviewCitations":["repo","cats"],"licenseCitations":["repo"],"sections":[{"id":"workflow","heading":"Modeling workflow","paragraphs":[{"id":"workflow-detail","content":[{"text":"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."}],"citations":["repo","cats"]}]},{"id":"conditions","heading":"Categorical processing conditions","paragraphs":[{"id":"conditions-detail","content":[{"text":"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."}],"citations":["cats"]}]},{"id":"prediction","heading":"Prediction schema","paragraphs":[{"id":"prediction-detail","content":[{"text":"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."}],"citations":["predict"]}]},{"id":"formats","heading":"Model storage and export","paragraphs":[{"id":"formats-detail","content":[{"text":"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."}],"citations":["save"]}]},{"id":"onnx","heading":"Inference interoperability","paragraphs":[{"id":"onnx-detail","content":[{"text":"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."}],"citations":["onnx"]}]},{"id":"availability","heading":"Availability and licensing","paragraphs":[{"id":"availability-detail","content":[{"text":"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."}],"citations":["repo","install","wheels","gpu"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"substitution-detail","content":[{"text":"CatBoost is a candidate substitute for "},{"text":"LightGBM","targetSlug":"lightgbm"},{"text":" 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."}],"citations":["repo","target","save"]}]}]},"id":"Q279","revision":264,"updatedAt":"2026-10-10T18:23:43Z","sourceUrl":"https://substitutefor.net/entities/Q279?revision=264"}}