lgb交叉验证
def Model_lgb(train,test,features,target,params,n_estimators): X_train = train[features].values y_train = train[target].values X_test = test[features].values folds = KFold(n_splits=5, shuffle=True, random_state=1) oof_lgb = np.zeros((X
原创
2021-07-01 16:29:15 ·
903 阅读 ·
0 评论