Dimensionality reduction with unsupervised learning