A simple class for gradient decent back propagation neural network learning