Making predictions with a neural network