I am training and predicting on the same data set-set, but I want to perform 10 fold-fold cross validation-validation and predict on the left out fold and thus predict on the whole data set. How can I do this? Currently
The libraries which I am using from sklearn import cross_validation import xgboost as xgb are:
from sklearn import cross_validation
import xgboost as xgb