Artificial Intelligence for reverse engineering: application to detergents using Raman spectroscopy