🚀 Orbit Boost
Orbit Boost is a research-oriented gradient boosting library built from scratch in Python, designed as an experimental alternative to LightGBM, XGBoost, and CatBoost.
It introduces oblique projections, BOSS sampling, Newton-style updates, and a ridge-based warm start for improved performance.
✨ Features
- 🔥 Custom Boosting Core
- Oblique feature projections per round
- BOSS sampling strategy (gradient + rarity-driven)
- Newton-style updates with global line search
- Mild class reweighting for improved balance
- 🏎 Warm Start
- Closed-form ridge multinomial initialization
- ⚡ Parallelization
- Trees for each class are fit in parallel
- 🛑 Early Stopping
- Based on validation Quadratic Weighted Kappa (QWK)
- 🎯 Compatible with scikit-learn API (
fit,predict,predict_proba)
📦 Installation
From PyPI:
pip install orbit-boost
From source:
git clone https://github.com/abdulvahapmutlu/orbit-boost.git
cd orbit-boost
pip install -e .
🛠 Usage
from orbit_boost import OrbitBoostClassifier
from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report
X, y = load_digits(return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
model = OrbitBoostClassifier(n_estimators=320, learning_rate=0.05, verbose=1)
model.fit(X_train, y_train)
y_pred = model.predict(X_test)
print(classification_report(y_test, y_pred))
📊 Benchmarking
Orbit Boost was compared against LightGBM, XGBoost, and Random Forest on the private NutriScore dataset (balanced training) on a 5-class NutriScore Dataset. Under-sampling applied to the whole dataset for each model, and the balanced training count for each class is (A, B, C, D, E) 103451.
Quadratic Weighted Kappa (QWK) – Validation
| Model | QWK (Validation) | F1-Macro | Accuracy |
|---|---|---|---|
| Orbit Boost | 0.9549 | 0.9161 | 0.93 |
| LightGBM | 0.9545 | 0.9157 | 0.93 |
| XGBoost | 0.9523 | 0.9080 | 0.92 |
| RandomForest | 0.9504 | 0.9065 | 0.92 |
Quadratic Weighted Kappa (QWK) – Test
| Model | QWK (Test) | F1-Macro | Accuracy |
|---|---|---|---|
| Orbit Boost | 0.9549 | 0.9168 | 0.93 |
| LightGBM | 0.9547 | 0.9167 | 0.93 |
| XGBoost | 0.9527 | 0.9080 | 0.92 |
| RandomForest | 0.9508 | 0.9069 | 0.92 |
📌 Orbit Boost achieves state-of-the-art parity with LightGBM on NutriScore, outperforming XGBoost and Random Forest. However, with pure Python loops, it's slower than its optimized rivals. Optimization for Orbit-Boost is a must.
🤝 Contributing
Contributions are welcome! Please read CONTRIBUTING.md and follow the Code of Conduct.
📜 Citation
If you use Orbit Boost in academic work, please cite:
@software{orbit_boost2025,
author = {Abdulvahap Mutlu},
title = {Orbit Boost: Oblique Projection Gradient Boosting},
year = {2025},
url = {https://github.com/abdulvahapmutlu/orbit-boost},
}
📄 License
MIT License © 2025 Abdulvahap Mutlu
Metadata
Release files for orbit-boost 0.1.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orbit_boost-0.1.1.post1.tar.gz | 12.4 kB | With provenance | Details for orbit_boost-0.1.1.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orbit_boost-0.1.1.post1-py3-none-any.whl | Python 3 | none | any | Details for orbit_boost-0.1.1.post1-py3-none-any.whl |
Total release size: 21.8 kB
Release files / orbit_boost-0.1.1.post1.tar.gz
| Download URL | orbit_boost-0.1.1.post1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df4dcfea43d1c841b012979f2361bb0f648ca6910b39d530655374652cb36b0b
|
|
BLAKE2b-256 checksum How to use checksums |
eccdb49ff18c33ed69da7cbf439f4f1c2c52833586e49c312aa26deb4a080b38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2025.
Transparency logRelease files / orbit_boost-0.1.1.post1-py3-none-any.whl
| Download URL | orbit_boost-0.1.1.post1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d55200c3b3398c48675c97535569a1c48a8313eb2f78bf8d8eed54bc5d4a1bda
|
|
BLAKE2b-256 checksum How to use checksums |
214cf5e90458e54425b11a47a481d506b9ec6cf59cfbeeb07298044b62d1dc01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2025.
Transparency logSecurity for orbit-boost 0.1.1.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for orbit_boost-0.1.1.post1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.