Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On Deep Learning with Apache Spark
  • Table Of Contents Toc
Hands-On Deep Learning with Apache Spark

Hands-On Deep Learning with Apache Spark

By : Guglielmo Iozzia
close
close
Hands-On Deep Learning with Apache Spark

Hands-On Deep Learning with Apache Spark

By: Guglielmo Iozzia

Overview of this book

Deep learning is a subset of machine learning where datasets with several layers of complexity can be processed. Hands-On Deep Learning with Apache Spark addresses the sheer complexity of technical and analytical parts and the speed at which deep learning solutions can be implemented on Apache Spark. The book starts with the fundamentals of Apache Spark and deep learning. You will set up Spark for deep learning, learn principles of distributed modeling, and understand different types of neural nets. You will then implement deep learning models, such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), and long short-term memory (LSTM) on Spark. As you progress through the book, you will gain hands-on experience of what it takes to understand the complex datasets you are dealing with. During the course of this book, you will use popular deep learning frameworks, such as TensorFlow, Deeplearning4j, and Keras to train your distributed models. By the end of this book, you'll have gained experience with the implementation of your models on a variety of use cases.
Table of Contents (19 chapters)
close
close
1
Appendix A: Functional Programming in Scala
2
Appendix B: Image Data Preparation for Spark

Pooling layers

It is common practice (as you will see next through the code examples of this chapter and from Chapter 7, Training Neural Networks with Spark, onward) to periodically insert a pooling layer between successive convolution layers in a CNN model. This kind of layers scope is to progressively reduce the number of parameters for the network (which translates into a significant lowering of the computation costs). In fact, spatial pooling (which is also found in literature as downsampling or subsampling) is a technique that reduces the dimensionality of each feature map, while at the same time retaining the most important part of the information. Different types of spatial pooling exist. The most used are max, average, sum, and L2-norm.

Let's take as an example, max pooling. This technique requires defining a spatial neighborhood (typically a 2 × 2 window);...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Hands-On Deep Learning with Apache Spark
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon