## Not run:
# data(iris)
#
# irisClass <- iris[,5]
# irisData <- iris[,-5]
#
# ens <- cfBuild(inputData = irisData, inputClass = irisClass, bootNum = 100,
# ensNum = 100, parallel = TRUE, cpus = 4, type = "SOCK")
#
# # Get the attributes provided by the getAcc function
# attributes(getAcc(ens))
#
# # Get both the vectors of test and train accuracies from the classifiers in the ensemble
# getAcc(ens)
#
# # Get the vector of test accuracies from the classifiers in the ensemble
# getAcc(ens)$Test
#
# # Get the vector of train accuracies from the classifiers in the ensemble
# getAcc(ens)$Train
# ## End(Not run)
Run the code above in your browser using DataLab