Neural networks in DeepLearning4J

After learning some basics of ND4J, we are now ready to start using DeepLearning4j and create neural networks with it.

As you probably know already, neural networks are models where we stack individual neurons in layers. During the prediction phase, each neuron gets some input, processes it, and forwards the results to the next layer. We start from the input layer, which receives the raw data, and gradually push the values forward to the output layer, which will contain the prediction of the model for the given input.

A neural network with one hidden layer might look like this:

DeepLearning4J allows us to ...

Get Java: Data Science Made Easy 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.