Home > other >  For big solutions
For big solutions

Time:12-31

The from sklearn. Cross_validation import StratifiedKFold


Kf=list (StratifiedKFold (y, n_folds=10, shuffle=True, random_state=4242)) [0]

Xtr Xte=Xtrain [kf [0], :], Xtrain [kf [1], :)
Ytr, yte=y/kf [0]], y [kf [1]]


This code in the new the from sklearn. Model_selection import StratifiedKFold

how to achieve?

For big solutions

CodePudding user response:

After another wall bumps bumps

CodePudding user response:

After another wall bumps bumps

CodePudding user response:

70000 * 1 y is an array element
  • Related