neuralnetwork function

Train a Neural Network