Predicting the accuracy of a neural network prior to training