Skip to Main Content
Apache Spark Deep Learning Cookbook
book

Apache Spark Deep Learning Cookbook

by Ahmed Sherif, Amrith Ravindra, Michal Malohlava, Adnan Masood
July 2018
Intermediate to advanced content levelIntermediate to advanced
474 pages
13h 37m
English
Packt Publishing
Content preview from Apache Spark Deep Learning Cookbook

How it works...

The functionality is as follows:

  1. By using the sequential function, a nine-layer convolutional neural network is defined with each layer performing the following functions:
    1. The first layer is a convolutional layer with 16 neurons and performs convolution on the input tensor/matrix. The size of the feature map is defined to be a 3 x 3 matrix. The input shape needs to be specified for the first layer since the neural network needs to know what type of input to expect. Since all the images have been cropped to a size of 128 x 150 pixels, this will be the input shape defined for the first layer of the network as well. The activation function used in this layer is a rectified linear unit (relu).
    2. The second layer of the network ...
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

Apache Spark for Data Science Cookbook

Apache Spark for Data Science Cookbook

Padma Priya Chitturi
Learning Apache Spark 2

Learning Apache Spark 2

Muhammad Asif Abbasi

Publisher Resources

ISBN: 9781788474221Supplemental Content