Perceptron Theory Can Predict the Accuracy of Neural Networks.