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
From the course: Neural Networks and Convolutional Neural Networks Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Understanding the components in Keras2m 12s
-
(Locked)
Setting up a Microsoft account on Azure1m 57s
-
(Locked)
Introduction to MNIST5m 33s
-
(Locked)
Preprocessing the training data4m 38s
-
(Locked)
Preprocessing the test data1m 58s
-
(Locked)
Building the Keras model2m 23s
-
(Locked)
Compiling the neural network model2m 18s
-
(Locked)
Training the neural network model1m 27s
-
(Locked)
Accuracy and evaluation of the neural network model2m 4s
-
(Locked)
-
-
-
-
-