October 2018
Intermediate to advanced
472 pages
10h 57m
English
We will be using the numpy, matplotlib, keras, scipy, and tensorflow packages in this exercise. Here, TensorFlow is used as the backend for Keras. You can install these packages with pip. For the MNIST data, we will be using the dataset available in the keras module with a simple import:
import numpy as np
It is important that you set seed for reproducibility:
# set seed for reproducibilityseed_val = 9000np.random.seed(seed_val)
Read now
Unlock full access