Time to see the learning in practice!

Let's work on a very simple yet illustrative example. Suppose you want a single neuron neural network to learn how to fit a simple linear function such as the following:

Time to see the learning in practice!
Time to see the learning in practice!

This is quite easy even for those who have little math background, so guess what? It is a nice start for our simplest neural network to prove its learning ability!

Teaching the neural network – the training dataset

We;re going to structure the dataset for the neural network to learn using the following code, which you can find in the main method ...

Get Deep Learning: Practical Neural Networks with Java now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.