A fast machine learning tool to predict the composition of interstellar ices from infrared absorption spectra