Week 3 Programming Assignment: Intuition behind non-linear borders between classes

Hello everyone!

I would like to get some intuition behind why when we compare network models with 1,2,3,4,5,20 and 50 neurons in the 1st hidden layer, 1 and 2 neuron models are only generating linear borders between classes, and then starting with the 3 neuron model it is able to create smth more complex.

Thank you in advance for your answer!

Best regards,

1 Like

Hi @Dammitcarl,

Adding in more neurone help your model to learn the training data better, hence, come up with a better decision boundary.