Training Neural Networks with Spark

In the previous two chapters, we have learned how to programmatically configure and build convolutional neural networks (CNNs) and recurrent neural networks (RNNs) using the DeepLearning4j (DL4J) API in Scala. There, implementing the training of these networks was mentioned, but very little explanation has been provided. This chapter finally goes into details of how to implement the training strategies for both kinds of network. The chapter also explains why Spark is important in the training process and what the fundamental role of DL4J is from a performance perspective.

The second and third sections focus on specific training strategies for CNNs and RNNs respectively. The fourth section of this chapter ...

Get Hands-On Deep Learning with Apache Spark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.