Automated classification of stellar spectra -- II. Two-dimensional classification with neural networks and principal components analysis | Synapse