Image classification
In this section, we will discuss how to implement some of the neural network structures with the deeplearning4j library. Let's start.
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.
Getting DL4J
The most convenient way to get deeplearning4j is through the Maven repository:
- Start a new Eclipse project and pick Maven Project, as shown in the ...
Get Machine Learning: End-to-End guide for Java developers 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.