Training kNN, Gaussian Bayes, and SVM models to classify MNIST 

We will use scikit-learn library functions to implement the following set of classifiers:

  • k-nearest neighbors
  • The Gaussian Bayes classifier (a generative model)
  • The Support Vector Machine (SVM) classifier

Let's start with the k-nearest neighbors classifier. 

Get Hands-On Image Processing with Python 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.