I was trying to run the example for the classification with imbalanced data provided in the 'Ensemble Methods' (<http://www.mathworks.com/help/stats/ensemble-methods.html#btgw1m1)>.
I downloaded the forestcover dataset, partition the data, and then tried to run the following lines of codes: t = ClassificationTree.template('minleaf',5); rusTree = fitensemble(covtype(istrain,:),Y(istrain),'RUSBoost',1000,t,'LearnRate',0.1,'nprint',100);
However, I get the this error: "Error using fitensemble (line 292) You cannot fit an ensemble for RUSBoost because it is not an ensemble method."
Someone can help? Thanks, V.
Play games and win prizes!Learn more