chimeraboost
pronounced kai-MEER-uh-boost
Lightning-fast Gradient Boosting, near-Catboost quality, all in Python
📖 Documentation: bbstats.github.io/chimeraboost
Installation
pip install chimeraboost
Quickstart
from chimeraboost import ChimeraBoostClassifier, ChimeraBoostRegressor
# classification. quality picks the speed/accuracy trade-off: 1 fastest .. 5 strongest,
# default is 3.
clf = ChimeraBoostClassifier(quality=4)
clf.fit(X, y, cat_features=[0, 1], sample_weight=w)
proba = clf.predict_proba(X_test)
# regression (RMSE, MAE, Quantile, Huber, Poisson, Gamma, Tweedie, or your own)
reg = ChimeraBoostRegressor()
reg.fit(X, y)
What?
- Regression, quantile regression, binary and multiclass classification
- Fast training and inference, all in python
- Extremely high quality predictions
How?
- Bagging as a first-class feature (using
n_ensembles) - Automatic early stopping
- Automatic linear-leaf auditioning
- numba is very fast
Why?
- I want to be able to modify my GBDT library at will
- I know Python and I don't know C
Documentation
- Getting started: install and first models
- Recipes: categoricals, quantiles, bagging, custom losses, and more
- Parameters: every option, with defaults and guidance
- FAQ: common questions
Inspirations / Citations
- CatBoost, Prokhorenkova et al., NeurIPS 2018. Ordered boosting, ordered target statistics, oblivious trees.
- XGBoost, Chen & Guestrin, KDD 2016. Regularized objective, Newton leaf estimation, column subsampling.
- LightGBM, Ke et al., NeurIPS 2017. Histogram-based split finding.
- Linear-leaf trees, Shi et al., IJCAI 2019 (arXiv:1802.05640). Piece-wise-linear regression trees (
linear_leaves). - TreeSHAP, Lundberg et al., Nature Machine Intelligence 2020 (orig. SHAP, NeurIPS 2017). Exact additive feature attributions (
shap_values). - OpenFE, Zhang et al., ICML 2023 (arXiv:2211.12507). Automated pairwise feature generation (
cross_features). - Conformalized quantile regression, Romano, Patterson & Candès, NeurIPS 2019. Distribution-free interval calibration (
conformalize).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chimeraboost-0.30.0.tar.gz
(238.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
chimeraboost-0.30.0-py3-none-any.whl
(139.9 kB
view details)
File details
Details for the file chimeraboost-0.30.0.tar.gz.
File metadata
- Download URL: chimeraboost-0.30.0.tar.gz
- Upload date:
- Size: 238.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25c83c967dd444aa59e692c94c2f0c750eca82ea2e822d840c39e992313c0aaa
|
|
| MD5 |
a2d2a278d4daf0cdd0cd0751c10aa8d6
|
|
| BLAKE2b-256 |
f7da590c9e8aff1d66b036dcc8c3486e534b4a55bff92e3dcca2d58fbf5521dc
|
File details
Details for the file chimeraboost-0.30.0-py3-none-any.whl.
File metadata
- Download URL: chimeraboost-0.30.0-py3-none-any.whl
- Upload date:
- Size: 139.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c031fd3e5cbd76ab47b567b865a2be89e3890ba158b69b4cdc27e545596e661a
|
|
| MD5 |
d83fc109dd82cb993a4d5a74634e92aa
|
|
| BLAKE2b-256 |
6131af3fc041f4fa62ed309575985689be4cbaf9805baafbf26bf1f59bcabba4
|