% Train the neural network net = train(net, x, y);