Description Usage Arguments Details Value
View source: R/RF_boot_err_Func.R
Returns the estimated accurasy measures of Sensitivity, Specificity, and Misclassification using Confusion matrix.
1 | RF.boot.err.Func(train, test, depVar, ntree = 300)
|
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 |
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.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.