Open Oolev opened 5 years ago
That seems remarkably odd; is your data transposed or something by accident? It seems like it feels you are asking for more neighbors than there is data, and I believe that check is fairly robust; I suspect something is astray with your data somehow?
My data points (3000 in total) form a small dense spherical shape surrounded by less dense 'noise'. The algorithm is expected to recognize the spherical shape. (picture attached)(do not mind the colors).
I think the question is if you call print(data.shape)
does it return (3, 3000)
or (3000, 3)
. If it is the first one, then that is the issue -- you'll want to run hdbscan on data.T
.
@lmcinnes data.T solved my problem, Thanks
When running the included code example on a different set of data (3000 points), this error pops:
Any idea how to fix this? Changing the parameters' values doesn't solve the issue.