Created
October 19, 2018 20:50
-
-
Save chao1224/699feb30fd2cde719ee5523da9f24859 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.model_selection import KFold | |
N = 3867 | |
kf = KFold(n_splits=10, shuffle=True) | |
for _, test_index in kf.split(range(N)): | |
print(len(test_index)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment