Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sklearn make iterator cv object

[(train_indices, test_indices)] # for one fold

    [(train_indices, test_indices), # 1stfold
    (train_indices, test_indices)] # 2nd fold etc
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sklearn #iterator #cv #object
ADD COMMENT
Topic
Name
5+8 =