使用xgboost贷款预测
使用xgboost贷款预测xg classifier xgb.XGBClassifier objective binary logistic colsample bytree0.3learning rate0.1max depth5alpha10n estimators10xg classifier.fit X train y train xg classifier.score y test xg classifier.predict X test score accuracy score y test xg classifier.predict X test print score
用户评论