Getting started
We will insert the source code of machine learning and deep learning with Java from this chapter. The version of JDK used in the code is 1.8, hence Java versions greater than 8 are required. Also, IntelliJ IDEA 14.1 is used for the IDE. We will use the external library from Chapter 5, Exploring Java Deep Learning Libraries – DL4J, ND4J, and More, so we are starting with a new Maven project.
The root package name of the code used in this book is DLWJ
, the initials of Deep Learning with Java, and we will add a new package or a class under DLWJ
as required. Please refer to the screenshot below, which shows the screen immediately after the new project is made:
There will be some names of variables and methods in the code that don't follow the Java coding standard. This is to improve your understanding together with some characters in the formulas to increase readability. Please bear this in mind in advance.