# uses iris data set
# build random forests model with certain parameters,
# do not make too many and too large trees
modelRF <- CoreModel(Species ~ ., iris, model="rf",
selectionEstimator="MDL",minNodeWeight=50,rfNoTrees=5)
print(modelRF)
# get the structure of the forest
forest <- getCoreModel(modelRF)
forest
Run the code above in your browser using DataLab