Module rusty_machine::analysis::cross_validation [] [src]

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.