objective='binary:logistic', \ n_estimators=num_est,booster='gblinear') tree = XGBClassifier( \ max_depth=3,learning_rate=0.1,objective='binary:logistic', \ n_estimators=num_est,booster='gbtree') linear.