Gradient-Boosting and Boostrap aggregating anything (alert: high performance): Part5, easier install and Rust backend

[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I recently released the genbooster Python package (usable from R), a Gradient-Boosting and Boostrap aggregating implementations that uses a Rust backend. Any base learner in the ensembles use randomized features as a form of feature engineering. The package was downloaded 3000 times in 5 days, so I guess it’s somehow useful.

The last version of my generic Gradient Boosting algorithm was implemented in Python package mlsauce (see #172, #169, #166, #165), but the package can be difficult to install on some systems. If you’re using Windows, for example, you may want to use the Windows Subsystem for Linux (WSL). Installing directly from PyPI is also nearly impossible, and it needs to be installed directly from GitHub.

This post is a quick overview of genbooster, in Python and R. It was an occasion to “learn”/try the Rust programming language, and I’m happy with the result; a stable package that’s easy to install. However, I wasn’t blown away ( hey Rust guys ;)) by the speed, which is roughly equivalent to Cython (that is, using C under the hood).

Bootstrap aggregating, source: Wikipedia

Python version

2025_10_22_genbooster_randombag_rust_python
To leave a comment for the author, please follow the link and comment on their blog: T. Moudiki's Webpage - R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)