t = ClassificationTree.template('minleaf',2,'MinParent',5,'NVarToSample',11);%'MinParent',5,'NVarToSample',15
Mdl2 = compact(fitensemble(covtype,Y,'Bag',477,t,'type','classification',...
   'nprint',100));