Already compared with CatBoost. Its fit as a replacement still needs assessment.
How CatBoost compares as a replacement
Boosted-tree classification and regression with mixed feature types limited
CatBoost → LightGBM
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.
Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply
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]
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]
Capabilities & limitations
Categorical feature processing
supported
Builds 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