Enviar rexistro por email: The Role of Structural Representation in the Performance of a Deep Neural Network for X-ray Spectroscopy