Module cross_validation

Module cross_validation 

Source
Expand description

Module for performing cross-validation of models.

Functions§

k_fold_validate
Randomly splits the inputs into k ‘folds’. For each fold a model is trained using all inputs except for that fold, and tested on the data in the fold. Returns the scores for each fold.