Electronic Configurations of 3d Transition-Metal Compounds Using Local Structure and Neural Networks.