hierarchical and dbscan