Dimensionality reduction techniques with applications in Raman spectroscopy