Open abrh opened 6 years ago
You need to use
ctrl <- MOAoptions(model = "HoeffdingAdaptiveTree", leafprediction = "MC")
ctrl
And next pass that to hdt <- HoeffdingAdaptiveTree(control = ctrl)
instead of HoeffdingTree
where in MOAoptions you give all arguments you want to give to the hoeffdingadaptivetree or you pass them directly as in hdt <- HoeffdingAdaptiveTree(leafprediction = "MC", noPrePrune = TRUE)
I would like to use HoeffdingAdaptiveTree. This is my current code. Do I have to add the following line for HoeffdingAdaptiveTree?
MOAoptions(model = "HoeffdingAdaptiveTree")
require(RMOA)