K-fold valiadtion
-
divide the data into k (5-10) subsets
-
do the training and testing on each subset
-
each tim use one fold as the test-set and all the other folds as the train set
-
KFold()
-
StratifiedKFold()
-
LeaveOneOut()
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
divide the data into k (5-10) subsets
do the training and testing on each subset
each tim use one fold as the test-set and all the other folds as the train set
KFold()
StratifiedKFold()
LeaveOneOut()