Evaluation of artificial neural networks performances on spectral classification tasks