Skip to Content
Python: Advanced Guide to Artificial Intelligence
book

Python: Advanced Guide to Artificial Intelligence

by Giuseppe Bonaccorso, Armando Fandango, Rajalingappaa Shanmugamani
December 2018
Intermediate to advanced content levelIntermediate to advanced
764 pages
18h 18m
English
Packt Publishing
Content preview from Python: Advanced Guide to Artificial Intelligence

Example of a deep convolutional network with Keras and data augmentation

In this example, we are going to use the Fashion MNIST dataset, which was freely provided by Zalando as a more difficult replacement for the standard MNIST dataset. In this case, instead of handwritten digits, there are greyscale photos of different articles of clothing. An example of a few samples is shown in the following screenshot:

However, in this case, we want to employ a utility class provided by Keras (ImageDataGenerator) in order to create a data-augmented sample set to improve the generalization ability of the deep convolutional network. This class allows us ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Artificial Intelligence with Python

Artificial Intelligence with Python

Prateek Joshi
Python Machine Learning - Third Edition

Python Machine Learning - Third Edition

Sebastian Raschka, Vahid Mirjalili

Publisher Resources

ISBN: 9781789957211Purchase LinkOtherErrata Page