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

8.1.1 The DL4J training UI

The DL4J framework provides a web user interface to visualize the current network status and progress of training in real time. It is used to understand how to tune a neural network. In this section, we are going to examine a use case with CNN training where only DL4J is involved. The next section will show the differences between when the training is done through both DL4J and Spark.

The first thing we need to do is add the following dependency to the project:

groupId = org.deeplearning4j artifactId = deeplearning4j-ui_2.11 version = 0.9.1

Then, we can start adding the necessary code.

Let's initialize the backend for the UI:

val uiServer = UIServer.getInstance()

Configure the information that is generated for the ...

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