I am new to neural-network and I am trying to understand mathematically what makes neural networks so good at classification problems.
By taking the example of a small neural network (for example, one with 2 inputs, 2 nodes in a hidden layer and 2 nodes for the output), all you have is a complex function at the output which is mostly sigmoid over a linear combination of the sigmoid.
So, how does that make them good at prediction? Does the final function lead to some sort of curve fitting?