MNIST: Handwritten Digits Dataset
Explore the MNIST dataset to understand classification of handwritten digits with machine learning models. Learn to apply logistic regression and support vector machines, visualize digit images, and enhance model performance by tuning key parameters like gamma and C using grid search.
We’ll explore the available kernel options in SVMs and compare their performance against each other and against simple logistic regression. We are going to work with three different datasets. Let’s perform the required imports first.
Let's move on to our first dataset.
The data
The Modified National Institute of Standards and Technology (MNIST) database of handwritten digits (
The MNIST dataset is widely used and deeply understood. CNN ...