Back
RCreddit.com
15
·17 hr ago·Dev community · RSS

fru - Fast Random Forest Implementation [P]

View original

Heat trend

Collecting trend data

The percentage is based on available heat signal, not comment count or independent people.

Hello, I wanted to share the work my colleague and I have been doing, which has just been published in Software X journal. We developed a Rust-based implementation of Random Forest. It has bindings for both Python and R.

Fru is highly optimized, offering competitive runtime performance and better scalability than popular implementations on these platforms. For Python, Fru outperforms the scikit-learn implementation by several factors, and in some scenarios it can be hundreds of times faster. In R, Fru is typically a few dozen percent faster than the ranger package, though the speedup can reach several times faster depending on the use case.

The model also includes a novel implementation of permutation importance, which provides an additional performance boost.

paper

R package

Python package

fru - Fast Random Forest Implementation [P] · BuzzRadr