imageTrain: A modified version of RF classifier

Description Usage Arguments Value See Also Examples

Description

A modified version of RF classifier

Usage

1
imageTrain(data, cparallel = FALSE, accuracy = FALSE)

Arguments

data

A data.frame of the pre-processed inputs.

cparallel

If cparallel=TRUE, the RCPP Random Forest Classifier runs with parallel cores.

accuracy

If accuracy=TRUE, the accuracy of the classifier is shown.

Value

Model and acc, a list in which the first element is the model object (named “Model”) and the second element is the list of accuracies across the classes (named “acc”).

See Also

https://cran.r-project.org/web/packages/randomForest/index.html

https://cran.r-project.org/web/packages/caret/index.html

https://cran.r-project.org/web/packages/Rborist/index.html

Examples

1
imageTrain(data, cparallel=TRUE, accuracy=TRUE)

nimasasa/RFCMFND documentation built on May 23, 2019, 7:05 p.m.