原创 使用Xgboost時出現錯誤 TypeError: 'str' object is not callable

def modelfit(alg, dtrain, dtest, predictors,useTrainCV=True, cv_folds=3, early_stopping_rounds=50): if useTra