From the course: Neural Networks and Convolutional Neural Networks Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction to MNIST

Introduction to MNIST

From the course: Neural Networks and Convolutional Neural Networks Essential Training

Start my 1-month free trial

Introduction to MNIST

- [Instructor] So let's make a start on this notebook. And just to make sure we understand what we are doing and where we're headed, we're going to be using the MNIST data set here as an example. And the MNIST data set is the handwritten data set, and fortunately for us, it's already available as one of the data sets in Keras. We first need to import the relevant packages that we will need. So this is not only so that we can access the MNIST data set, but so that we can create our Neural Net Model in Keras. Now when we access our MNIST data set, this is already divided up for us into training sets and test sets, so 60,000 entries will be used to train on, and 10,000 to test our model. We'll then want to check the accuracy of our model, and remember that anything that has the word train in it has all of the images that are required, and the corresponding test component has all of the answers. So for example, the first image might be stored in the numpy array X_train zero, and the…

Contents