Deep learning for clustering analysis