scikit-learn-contrib / hdbscan

A high performance implementation of HDBSCAN clustering.
http://hdbscan.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2.79k stars 500 forks source link

exemplars_ ordering not matching labels_ ordering #308

Open alexgand opened 5 years ago

alexgand commented 5 years ago

Hi, I suppose the clusterer.exemplars returns points in the order of clusterer.labels, this is, the first exemplar refers to label 0, the second refers to points assinged to label 1, ...

I would like to double check this information, since I didn't find it on the documentation.

I have a clusterer object which is returning exemplars far different than the points associated with the each label, so I wonder if the exemplars are shown in a differente order than the labels.

Thanks and congrats on the work done on hdbscan and umap.

lmcinnes commented 5 years ago

They should be in the same order. There are perhaps some lingering issues for certain cases that may 'cause something to go wrong. I'll try and track it down when I get some time.

raviteja-cfx commented 3 years ago

Iam facing the same issue, the exemplars ordering is not matching