perpetual

Library Listed

A self-generalizing gradient boosting machine that doesn't need hyperparameter optimization

Checked · Sources

Downloads
2,472
Dependents
1
Stars
717
Forks
42
Contributors
4
Commits
407
Latest release
2.3.0 ·

About

From the project README ·

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 budget parameter, 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.

LanguageInstallationDocumentationSourcePackage
Pythonpip install perpetual

conda install -c conda-forge perpetual
Python APIpackage-pythonPyPI

Conda Forge
Rustcargo add perpetualdocs.rssrccrates.io
Rinstall.packages("perpetual")pkgdown Sitepackage-rR-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 budgetLightGBM n_estimatorsPerpetual mseLightGBM mseSpeed-up wall timeSpeed-up cpu time
0.76500.2010.20172x326x
0.851000.1960.196113x613x
1.152000.1900.190405x1985x

The following table summarizes the results for the Pumpkin Seeds dataset (classification):

Perpetual budgetLightGBM n_estimatorsPerpetual aucLightGBM aucSpeed-up wall timeSpeed-up cpu time
1.01000.9440.94591x184x

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 TaskPerpetual Training DurationPerpetual Inference DurationPerpetual RMSEAutoGluon Training DurationAutoGluon Inference DurationAutoGluon RMSE
Airlines_DepDelay_10M51811.329.052030.928.8
bates_regr_100342115.11.084OOMOOMOOM
BNG(libras_move)19564.22.51192297.62.53
BNG(satellite_image)3341.60.73133710.00.721
COMET_MC441.00.0615475.00.0662
friedman12754.21.0472785.11.487
poker380.60.256411.20.722
subset_higgs86810.60.42087024.50.421
BNG(autoHorse)1071.119.01073.220.5
BNG(pbc)480.6836.5510.2957.1
average4653.9-46419.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 TaskPerpetual Training DurationPerpetual Inference DurationPerpetual AUCAutoGluon Training DurationAutoGluon Inference DurationAutoGluon AUC
BNG(spambase)70.12.10.67173.13.70.669
BNG(trains)89.51.70.996106.42.40.994
breast13699.397.70.99113330.779.70.949
Click_prediction_small89.11.00.749101.02.80.703
colon12435.2126.70.99712356.2152.30.997
Higgs3485.340.90.8433501.467.90.816
SEA(50000)21.90.20.93625.60.50.935
sf-police-incidents85.81.50.68799.42.80.659
bates_classif_10011152.850.00.864OOMOOMOOM
prostate13699.979.80.987OOMOOMOOM
average3747.034.0-3699.239.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.

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.

perpetual beside the projects that share a topic with it
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
perpetual This page Listed

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
gbdt-rs Listed Dormant

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
ffsvm Listed Dormant

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 days
  • dormancy: last activity 2026-10-24, 16 days ago, E = 365: active
  • featured: 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
Adoption1 active dependents, 1 new dependents in 365 days1 not measured
Adoption measurements
SignalValueSourceFetchedCounts
Active dependents1crates.io database dumpYes
New dependents (365 days)1crates.io database dumpYes
Peak active dependents1crates.io database dumpYes
Active dependents as a share of the peak1crates.io database dumpYes
Binary downloads per releaseNot measuredYes
MaintenanceLatest human commit: 16 days ago3 not measured
Maintenance measurements
SignalValueSourceFetchedCounts
Latest human commit2026-10-24GitHub repositoryYes
Latest release2026-10-24crates.io database dumpYes
First release2024-06-07crates.io database dumpYes
Latest version2.3.0crates.io database dumpYes
Days the oldest outside issue waits for a reply709GitHub repositoryYes
Maintainer replies over 365 days8GitHub repositoryYes
Repository archivedfalseGitHub repositoryYes
Repository gonefalseGitHub repositoryYes
Release commit or manifest in the repotruecrates.io packageYes
Published docstruecrates.io database dumpYes
Latest release fails cargo checkNot measuredYes
Build check dateNot measuredYes
Build check toolchainNot measuredYes
SecurityUnpatched vulnerabilities: none
Security measurements
SignalValueSourceFetchedCounts
Unpatched vulnerabilities past the grace windownoneRustSec advisory databaseYes
RustSec unmaintained advisorynoneRustSec advisory databaseYes
Deprecation noticenonecrates.io database dumpYes
Deprecated requirementnonecrates.io database dumpYes
Distribution97 releases, 2,472 downloads over 30 days5 not measured
Distribution measurements
SignalValueSourceFetchedCounts
Releases97crates.io database dumpYes
Downloads over 30 days2472crates.io database dumpYes
Binary downloads over the last 3 releasesNot measuredYes
Homebrew installs on request over 365 daysNot measuredYes
Repology repository familiesNot measuredYes
Docker pull growth over 90 daysNot measuredYes
Docker pulls at the growth baselineNot measuredYes
Every version a prereleasefalsecrates.io database dumpYes
Every version 0.0.xfalsecrates.io database dumpYes
Every version yankedfalsecrates.io database dumpYes
Crate deleted from crates.iofalsecrates.io database dumpYes
Repository717 stars, 42 forks, 4 contributors, 407 commits. Stars alone never qualify a project.
Repository measurements
SignalValueSourceFetchedCounts
GitHub stars717GitHub repositoryYes — one part of the repository route
GitHub forks42GitHub repositoryYes — one part of the repository route
Contributors with a GitHub account4GitHub contributorsYes — one part of the repository route
Commits on the default branch407GitHub repositoryNo
Repository's main crate left out of the entrynonecrates.io database dumpYes
Facts that never count
Facts that never count measurements
SignalValueSourceFetchedCounts
LicenseApache-2.0crates.io database dumpNo
Runs on, from listed crates and their direct dependenciesGPU support unknowncrates.io database dumpNo
What shows each backendno dependency or feature matches a backend rowcrates.io database dumpNo
Native code, from listed crates and their dependenciesNo native code foundcrates.io database dumpNo
Python bindings, from direct dependencies of listed cratesNo Python binding crate foundcrates.io database dumpNo
Crates that depend on a listed crate directly1crates.io database dumpNo

Corrections and review history

Report a correction

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.