Skip to Main Content
Hands-On Deep Learning with Apache Spark
book

Hands-On Deep Learning with Apache Spark

by Guglielmo Iozzia
January 2019
Intermediate to advanced content levelIntermediate to advanced
322 pages
7h 29m
English
Packt Publishing
Content preview from Hands-On Deep Learning with Apache Spark

Keras implementation

The first implementation of object recognition we are going to do is in Python and involves the Keras framework. To train and evaluate the model, we are going to use a public dataset called CIFAR-10 (http://www.cs.toronto.edu/~kriz/cifar.html). It consists of 60,000 (50,000 for training and 10,000 for testing) small (32 x 32 pixels) color images divided into 10 classes (airplane, automobile, bird, cat, deer, dog, frog, horse, ship, and truck). These 10 classes are mutually exclusive. The CIFAR-10 dataset (163 MB) is freely downloadable from http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz.

The prerequisites for this implementation are Python 2.7.x, Keras, TensorFlow (it is used as the Keras backend), NumPy, and ...

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

Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More

Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More

Butch Quinto
Apache Spark Deep Learning Cookbook

Apache Spark Deep Learning Cookbook

Ahmed Sherif, Amrith Ravindra, Michal Malohlava, Adnan Masood

Publisher Resources

ISBN: 9781788994613Supplemental Content