In this section, we will discuss how to implement some of the neural network structures with the Deeplearning4j library. Let's get started.
Image classification
Deeplearning4j
As we discussed in Chapter 2, Java Libraries and Platforms for Machine Learning, Deeplearning4j is an open source, distributed deep learning project in Java and Scala. Deeplearning4j relies on Spark and Hadoop for MapReduce, trains models in parallel, and iteratively averages the parameters they produce in a central model. A detailed library summary is presented in Chapter 2, Java Libraries and Platforms for Machine Learning.