Basic neural network with 1 hidden layer