Classifying States of the Hopfield Network with Improved Accuracy, Generalization, and Interpretability