cross_validation is included in model_selection module since sklearn 0.18 (#1908)
This commit is contained in:
parent
1957e6fb4d
commit
119763bc49
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user