Fast random forests for R and C++, suited to high-dimensional data
open sourceGPL-3.0-onlyfree
ranger is a fast implementation of random forests, written in C++ with an R package that its author recommends using. It builds classification, regression, survival and probability forests, plus extremely randomized trees and quantile regression forests, and is aimed at high-dimensional data such as genome-wide association studies. Besides data frames it reads sparse dgCMatrix matrices directly. A standalone C++ command-line version can be built with CMake. Install the R package from CRAN as ranger.
Problems it solves
- train a random forest in R on data with thousands of features
- fit a random survival forest in R
- random forests in R that are faster than randomForest
Features
- classification, regression, survival and probability forests
- extremely randomized trees and quantile regression forests
- reads sparse dgCMatrix matrices directly
- multithreaded
- standalone C++ command-line version
Alternatives
The same job
These do what ranger (R) does.
- rpart Recursive partitioning for classification, regression and survival trees in R
