Clustering using random forests and manifold learning