Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Hands-On Deep Learning with Apache Spark
  • Toc
  • feedback
Hands-On Deep Learning with Apache Spark

Hands-On Deep Learning with Apache Spark

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

Hands-On Deep Learning with Apache Spark

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

Functional programming (FP)

In FP, functions are first-class citizens—this means that they are treated like any other values and can be passed as arguments to other functions or be returned as a result of a function. In FP, it is also possible to work with functions in the so-called literal form, with no need to name them. Let's look at the following Scala example:

val integerSeq = Seq(7, 8, 9, 10)
integerSeq.filter(i => i % 2 == 0)

i => i % 2 == 0 is a function literal without a name. It checks whether a number is even. It can be passed as another function argument or it can be used as a return value.

Purity

One of the pillars of functional programming is pure functions. A pure programming function is a function...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete