logit with bagging