Open jeongwon71 opened 1 year ago
Hi, I tried HDBSCAN with simple example dataset, but it throws TypeError.
`from sklearn.datasets import makeblobs data, = make_blobs(1000)
import hdbscan
clusterer = hdbscan.HDBSCAN() cluster_labels = clusterer.fit_predict(data)`
And the TypeError says
File hdbscan\_hdbscan_tree.pyx:659, in hdbscan._hdbscan_tree.get_clusters()
File hdbscan\_hdbscan_tree.pyx:733, in hdbscan._hdbscan_tree.get_clusters()
TypeError: 'numpy.float64' object cannot be interpreted as an integer
I have no idea why this error occurs.
I am currently having the exact same issue.
Seems like a duplicate of #607. Maybe the suggested fix helps you.
Hi, I tried HDBSCAN with simple example dataset, but it throws TypeError.
`from sklearn.datasets import makeblobs data, = make_blobs(1000)
import hdbscan
clusterer = hdbscan.HDBSCAN() cluster_labels = clusterer.fit_predict(data)`
And the TypeError says
File hdbscan\_hdbscan_tree.pyx:659, in hdbscan._hdbscan_tree.get_clusters()
File hdbscan\_hdbscan_tree.pyx:733, in hdbscan._hdbscan_tree.get_clusters()
TypeError: 'numpy.float64' object cannot be interpreted as an integer
I have no idea why this error occurs.