Although analytical solutions exist, the analysis of two-dimensional spectroscopy (2DCS) data can be tedious. A machine learning approach to analyzing 2DCS spectra is presented. We test the accuracy of the algorithm on simulated and experimental data.