bagging_pp function with bagging PP.Tree, max vote and error
delete previous functions