Applies multiclass AdaBoost.M1, AdaBoost-SAMME and Bagging