GCD.5 - Random Forest

Printer-friendly versionPrinter-friendly version

Sample R code for
Random Forest.

Completely unsupervised random forest method on Training data with ntree = 200 leads to the following error plot:

error plot

Importance of predictors are given in the following dotplot.

dotplots of results

which gives rise to the following classification table:

table of results

With judicious choice of more important predictors, further improvement in accuracy is possible. But as improvement is slight, no attempt is made for supervised random forest.