Analyzing the graphics, we see that the model with 100 nodes on two layers has similar outcome, but slightly better. When applying several layers, one should be careful with the vanishing gradients and loss of information. We will proceed now to analyze with the full training set.

We compare the results applying one layer with 100 nodes and two layers with 100 nodes each.

Full training set: 1 hidden layer: 100 nodes