Exploiting Machine Learning to Efficiently Predict Multidimensional Optical Spectra in Complex Environments