cross_validation is included in model_selection module since sklearn 0.18 (#1908)

This commit is contained in:
adamist521 2016-12-26 18:11:56 +09:00 committed by Yuan (Terry) Tang
parent 1957e6fb4d
commit 119763bc49

View File

@ -3,7 +3,7 @@ import pandas as pd
import xgboost as xgb
import time
import random
from sklearn.cross_validation import StratifiedKFold
from sklearn.model_selection import StratifiedKFold
#For sampling rows from input file
random_seed = 9