@louis wrote:
Please am referring to the above link where you worked through tuning the parameters in gradient boosting machine, please in your ‘def model fit’ where you have :
def modelfit(alg, dtrain, predictors, performCV=True, printFeatureImportance=True, cv_folds=5):
how did you get ‘dtrain’ and ‘alg’?
Thanks.
Posts: 1
Participants: 1