7EXPERIMENTS WITH CLASSICAL MODELS

image

In Chapter 6, we introduced several classical machine learning models. Let’s now take the datasets we built in Chapter 5 and use them with these models to see how well they perform. We’ll use sklearn to create the models and then we’ll compare them by looking at how well they do on the held-out test sets.

This will give us a good overview of how to work with sklearn and help us build intuition about how the different models perform relative to one another. We’ll use three datasets: the iris dataset, both original and augmented; the breast cancer dataset; and the vector form of the MNIST handwritten digits dataset. ...

Get Practical Deep Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.