classDataGen(noInst, t1=0.7, t2=0.9, t3=0.34, t4=0.32, p1=0.5, classNoise=0)classDataGen returns a data.frame with noInst rows and 11 columns.
Range of values of the attributes and class arep1 and 1 - p1, respectively. The conditional distribution of attributes
under each of the classes depends on parameters t1, t2, t3, t4 from [0,1].
Attributes a7 and x3 are irrelevant for all values of parameters.
Examples of extreme settings of the parameters.
regDataGen, ordDataGen,CoreModel.#prepare a classification data set
classData <-classDataGen(noInst=200)
# build random forests model with certain parameters
modelRF <- CoreModel(class~., classData, model="rf",
selectionEstimator="MDL",minNodeWeight=5,rfNoTrees=100)
print(modelRF)Run the code above in your browser using DataLab