I am trying to run XGBClassifier parameter tuning and get a "'name 'cross_validation' is not defined" error following this line of code:
kfold_5 = cross_validation.KFold(n = len(X), shuffle = True, n_folds = numFolds)
Maybe I didn't import the appropriate library?