perpetual
Library Listed
A self-generalizing gradient boosting machine that doesn't need hyperparameter optimization
- Downloads
- 2,472
- Dependents
- 1
- Stars
- 717
- Forks
- 42
- Contributors
- 4
- Commits
- 407
- Latest release
- 2.3.0 ·
About
PerpetualBooster is a gradient boosting machine (GBM) that doesn't need hyperparameter optimization unlike other GBMs. Similar to AutoML libraries, it has a budget parameter. Increasing the budget parameter increases the predictive power of the algorithm and gives better results on unseen data. Start with a small budget (e.g. 0.5) and increase it (e.g. 1.0) once you are confident with your features. If you don't see any improvement with further increasing the budget, it means that you are already extracting the most predictive power out of your data.
Read the full README
Features
- Hyperparameter-Free Learning: Achieves optimal accuracy in a single run via a simple
budgetparameter, eliminating the need for time-consuming hyperparameter optimization. - High-Performance Rust Core: Blazing-fast training and inference with a native Rust core, zero-copy support for Polars/Arrow data, and robust Python & R bindings.
- Comprehensive Objectives: Fully supports Classification (Binary & Multi-class), Regression, and Ranking tasks.
- Advanced Tree Features: Natively handles categorical variables, learnable missing value splits, monotonic constraints, and feature interaction constraints.
- Built-in Causal ML: Out-of-the-box support for causal machine learning to estimate treatment effects.
- Robust Drift Monitoring: Built-in capabilities to monitor both data drift and concept drift without requiring ground truth labels or model retraining.
- Continual Learning: Built-in continual learning capabilities that significantly reduce computational time from O(n²) to O(n).
- Native Calibration: Built-in calibration features to predict fully calibrated distributions (marginal coverage) and conditional coverage without retraining.
- Explainability: Easily interpret model decisions using built-in feature importance, partial dependence plots, and Shapley (SHAP) values.
- Production Ready & Interoperable: Ready for production applications; seamlessly export models to industry-standard XGBoost or ONNX formats for straightforward deployment.
Supported Languages
Perpetual is built in Rust and provides high-performance bindings for Python and R.
| Language | Installation | Documentation | Source | Package |
|---|---|---|---|---|
| Python | pip install perpetualconda install -c conda-forge perpetual | Python API | package-python | PyPI Conda Forge |
| Rust | cargo add perpetual | docs.rs | src | crates.io |
| R | install.packages("perpetual") | pkgdown Site | package-r | R-universe |
Optional Dependencies
pandas: Enables support for training directly on Pandas DataFrames.polars: Enables zero-copy training support for Polars DataFrames.scikit-learn: Provides a scikit-learn compatible wrapper interface.xgboost: Enables saving and loading models in XGBoost format for interoperability.onnxruntime: Enables exporting and loading models in ONNX standard format.
Usage
You can use the algorithm like in the example below. Check examples folders for both Rust and Python.
from perpetual import PerpetualBooster
model = PerpetualBooster(objective="SquaredLoss", budget=0.5)
model.fit(X, y)
Benchmark
PerpetualBooster vs. Optuna + LightGBM
Hyperparameter optimization usually takes 100 iterations with plain GBM algorithms. PerpetualBooster achieves the same accuracy in a single run. Thus, it achieves up to 100x speed-up at the same accuracy with different budget levels and with different datasets.
The following table summarizes the results for the California Housing dataset (regression):
| Perpetual budget | LightGBM n_estimators | Perpetual mse | LightGBM mse | Speed-up wall time | Speed-up cpu time |
|---|---|---|---|---|---|
| 0.76 | 50 | 0.201 | 0.201 | 72x | 326x |
| 0.85 | 100 | 0.196 | 0.196 | 113x | 613x |
| 1.15 | 200 | 0.190 | 0.190 | 405x | 1985x |
The following table summarizes the results for the Pumpkin Seeds dataset (classification):
| Perpetual budget | LightGBM n_estimators | Perpetual auc | LightGBM auc | Speed-up wall time | Speed-up cpu time |
|---|---|---|---|---|---|
| 1.0 | 100 | 0.944 | 0.945 | 91x | 184x |
The results can be reproduced using the scripts in the examples folder.
PerpetualBooster vs. AutoGluon
PerpetualBooster is a GBM but behaves like AutoML so it is benchmarked also against AutoGluon (v1.2, best quality preset), the current leader in AutoML benchmark. Top 10 datasets with the most number of rows are selected from OpenML datasets for both regression and classification tasks.
The results are summarized in the following table for regression tasks:
| OpenML Task | Perpetual Training Duration | Perpetual Inference Duration | Perpetual RMSE | AutoGluon Training Duration | AutoGluon Inference Duration | AutoGluon RMSE |
|---|---|---|---|---|---|---|
| Airlines_DepDelay_10M | 518 | 11.3 | 29.0 | 520 | 30.9 | 28.8 |
| bates_regr_100 | 3421 | 15.1 | 1.084 | OOM | OOM | OOM |
| BNG(libras_move) | 1956 | 4.2 | 2.51 | 1922 | 97.6 | 2.53 |
| BNG(satellite_image) | 334 | 1.6 | 0.731 | 337 | 10.0 | 0.721 |
| COMET_MC | 44 | 1.0 | 0.0615 | 47 | 5.0 | 0.0662 |
| friedman1 | 275 | 4.2 | 1.047 | 278 | 5.1 | 1.487 |
| poker | 38 | 0.6 | 0.256 | 41 | 1.2 | 0.722 |
| subset_higgs | 868 | 10.6 | 0.420 | 870 | 24.5 | 0.421 |
| BNG(autoHorse) | 107 | 1.1 | 19.0 | 107 | 3.2 | 20.5 |
| BNG(pbc) | 48 | 0.6 | 836.5 | 51 | 0.2 | 957.1 |
| average | 465 | 3.9 | - | 464 | 19.7 | - |
PerpetualBooster outperformed AutoGluon on 8 out of 10 regression tasks, training equally fast and inferring 5.1x faster.
The results are summarized in the following table for classification tasks:
| OpenML Task | Perpetual Training Duration | Perpetual Inference Duration | Perpetual AUC | AutoGluon Training Duration | AutoGluon Inference Duration | AutoGluon AUC |
|---|---|---|---|---|---|---|
| BNG(spambase) | 70.1 | 2.1 | 0.671 | 73.1 | 3.7 | 0.669 |
| BNG(trains) | 89.5 | 1.7 | 0.996 | 106.4 | 2.4 | 0.994 |
| breast | 13699.3 | 97.7 | 0.991 | 13330.7 | 79.7 | 0.949 |
| Click_prediction_small | 89.1 | 1.0 | 0.749 | 101.0 | 2.8 | 0.703 |
| colon | 12435.2 | 126.7 | 0.997 | 12356.2 | 152.3 | 0.997 |
| Higgs | 3485.3 | 40.9 | 0.843 | 3501.4 | 67.9 | 0.816 |
| SEA(50000) | 21.9 | 0.2 | 0.936 | 25.6 | 0.5 | 0.935 |
| sf-police-incidents | 85.8 | 1.5 | 0.687 | 99.4 | 2.8 | 0.659 |
| bates_classif_100 | 11152.8 | 50.0 | 0.864 | OOM | OOM | OOM |
| prostate | 13699.9 | 79.8 | 0.987 | OOM | OOM | OOM |
| average | 3747.0 | 34.0 | - | 3699.2 | 39.0 | - |
PerpetualBooster outperformed AutoGluon on 10 out of 10 classification tasks, training equally fast and inferring 1.1x faster.
PerpetualBooster demonstrates greater robustness compared to AutoGluon, successfully training on all 20 tasks, whereas AutoGluon encountered out-of-memory errors on 3 of those tasks.
The results can be reproduced using the automlbenchmark fork.
Contribution
Contributions are welcome. Check CONTRIBUTING.md for the guideline.
Paper
PerpetualBooster prevents overfitting with a generalization algorithm. The paper is work-in-progress to explain how the algorithm works. Check our blog post for a high level introduction to the algorithm.
Perpetual ML Suite
The Perpetual ML Suite is a comprehensive, batteries-included ML platform designed to deliver maximum predictive power with minimal effort. It allows you to track experiments, monitor metrics, and manage model drift through an intuitive interface.
For a fully managed, serverless ML experience, visit app.perpetual-ml.com.
- Serverless Marimo Notebooks: Run interactive, reactive notebooks without managing any infrastructure.
- Serverless ML Endpoints: One-click deployment of models as production-ready endpoints for real-time inference.
Perpetual is also designed to live where your data lives. It is available as a native application on the Snowflake Marketplace, with support for Databricks and other major data warehouses coming soon.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- Apache-2.0
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
A self-generalizing gradient boosting machine that doesn't need hyperparameter optimization |
2,472 downloads over 30 days | 1 | 717 | 2.3.0 | GPU support unknown | No native code found | Apache-2.0 |
|
linfa Featured
A Machine Learning framework for Rust |
177,963 downloads over 30 days | 60 | 4,770 | 0.8.1 | GPU support unknown | Binds native code: lapack-sys (feature intel-mkl-static) | Apache-2.0 OR MIT |
|
smartcore Featured
Machine Learning in Rust. |
39,473 downloads over 30 days | 33 | 976 | 0.7.0 | GPU support unknown | No native code found | Apache-2.0 |
|
A implementation of Gradient Boosting Regression Tree in Rust programming language |
6,452 downloads over 30 days | 5 | 225 | 0.1.3 | GPU support unknown | No native code found | Apache-2.0 |
|
A libSVM compatible support vector machine, but up to 10x faster, for games or VR. |
1,282 downloads over 30 days | 1 | 79 | 0.12.0 | GPU support unknown | No native code found | MIT |
|
treeboost Listed
Gradient-boosted decision trees for tabular data: trains a baseline model in one call, with full control over boosting modes and configs, and Scalar, AVX-512, SVE2, WGPU and CUDA backends. Python bindings |
18 downloads over 30 days | 0 | 9 | 0.1.2 | CUDA, WebGPU | No native code found | Apache-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 1 active dependents and 1 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 717 stars, 42 forks and 4 contributors. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 24 Oct 2026, 16 days ago. The rules expect an update within 365 days. Dormancy rule
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 2.3.0 base 200, raised to the 365-day floor: E = 365 daysdormancy: last activity 2026-10-24, 16 days ago, E = 365: activefeatured: not featured: active_users 1 < 11 and new_adopters 1 < 9 and repository route stars 717 (needs 4539), forks 42 (needs 434), contributors 4 (needs 79)listed: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption1 active dependents, 1 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 1 | crates.io database dump | Yes | |
| New dependents (365 days) | 1 | crates.io database dump | Yes | |
| Peak active dependents | 1 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 16 days ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-10-24 | GitHub repository | Yes | |
| Latest release | 2026-10-24 | crates.io database dump | Yes | |
| First release | 2024-06-07 | crates.io database dump | Yes | |
| Latest version | 2.3.0 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 709 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 8 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution97 releases, 2,472 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 97 | crates.io database dump | Yes | |
| Downloads over 30 days | 2472 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository717 stars, 42 forks, 4 contributors, 407 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 717 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 42 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 4 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 407 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | Apache-2.0 | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 1 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.