Learn R Programming

iterative Random Forests (iRF)

The R package iRF implements iterative Random Forests, a method for iteratively growing ensemble of weighted decision trees, and detecting high-order feature interactions by analyzing feature usage on decision paths. This version uses source codes from the R package randomForest by Andy Liaw and Matthew Weiner and the original Fortran codes by Leo Breiman and Adele Cutler.

To download and install the package, use devtools

library(devtools)
devtools::install_github("sumbose/iRF")

You can subsequently load the package with the usual R commands:

library(iRF)

OSX users may need to intall gfortran to compile. This can be done with the following commands:

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

Binaries are available for OSX and linux in the binaries directory and can be installed using the command:

R CMD INSTALL <filename>

For a detailed description on the usage of iRF, see the vignette.

Copy Link

Version

Install

install.packages('iRF')

Monthly Downloads

10

Version

2.0.0

License

GPL-2

Maintainer

Last Published

July 26th, 2017

Functions in iRF (2.0.0)

classCenter

Prototypes of groups.
combine

Combine Ensembles of Trees
imports85

The Automobile Data
margin

Margins of randomForest Classifier
iRF

iteratively grows weighted random forests, finds stable feature interactions
importance

Extract variable importance measure
MDSplot

Multi-dimensional Scaling Plot of Proximity matrix from randomForest
RIT

Random Intersection Trees
getTree

Extract a single tree from a forest.
grow

Add trees to an ensemble
plot.randomForest

Plot method for randomForest objects
predict.randomForest

predict method for random forest objects
rfcv

Random Forest Cross-Valdidation for feature selection
treesize

Size of trees in an ensemble
na.roughfix

Rough Imputation of Missing Values
outlier

Compute outlying measures
varUsed

Variables used in a random forest
rfImpute

Missing Value Imputations by randomForest
rfNews

Show the NEWS file
randomForest

Classification and Regression with Random Forest
readForest

Pass data through a fitted forest, record node characteristics [works for binary classification with continuous variables]
partialPlot

Partial dependence plot
partialPlot2var

creates 3-dimensional surface plots for bivariate partial dependence functions
tuneRF

Tune randomForest for the optimal mtry parameter
varImpPlot

Variable Importance Plot