RF.boot.err.Func: Application of Random Forest method

Description Usage Arguments Details Value

View source: R/RF_boot_err_Func.R

Description

Returns the estimated accurasy measures of Sensitivity, Specificity, and Misclassification using Confusion matrix.

Usage

1
RF.boot.err.Func(train, test, depVar, ntree = 300)

Arguments

train

A data frame of training data set

test

A data frame of a testing data

depVar

An outcome variable

ntree

A numeric value of # of trees to build

Details

A random forest model is trained using a training data set and estimate accuracy measures using a test data set. The number of tree is defined by a user and the default value of it is 300.

Value

A list of RF.fit RF fitted object, RF.err a matrix of the estimated accurasy measures of Sensitivity, Specificity, Misclassification for Training set, Testing set and overall one, importance_measure as a matrix form of Mean.Decrease.Accuracy and Mean.Decrease.Gini


jjsayleraxio/JTIMLmaster documentation built on Nov. 4, 2019, 2:57 p.m.