Chapter 3
The Data Pipeline
Section 7
Cross-Validation
Unfortunately, relying on the validation and testing phases of samples brings uncertainty along with a reduction of the learning examples dedicated to training. A solution would be to use cross-validation, and Scikit-learn offers a complete module for cross-validation and performance evaluation. Let’s take a step further and see how to use these in our code. - Use the three possible hypotheses for the digits dataset - Use cross-validation iterators - Perform sampling and bootstrapping