New tools for unsupervised learning