Machine Learning applications in spectroscopy and dynamics