Book Image

Hands-On Deep Learning with Apache Spark

By : Guglielmo Iozzia
Book Image

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)
Appendix A: Functional Programming in Scala
Appendix B: Image Data Preparation for Spark

Introducing DL

DL is a subset of ML that can solve particularly hard and large-scale problems in areas such as Natural Language Processing (NLP) and image classification. The expression DL is sometimes used in an interchangeable way with ML and AI, but both ML and DL are subsets of AI. AI is the broader concept that is implemented through ML. DL is a way of implementing ML, and involves neural network-based algorithms:

Figure 2.1

AI is considered the ability of a machine (it could be any computer-controlled device or robot) to perform tasks that are typically associated with humans. It was introduced in the 1950s, with the goal of reducing human interaction, thereby making the machine do all the work. This concept is mainly applied to the development of systems that typically require human intellectual processes and/or the ability to learn from past experiences.

ML is an approach...