Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add HDBSCAN? #139

Open
currymj opened this issue Jan 27, 2019 · 4 comments
Open

add HDBSCAN? #139

currymj opened this issue Jan 27, 2019 · 4 comments
Labels

Comments

@currymj
Copy link

currymj commented Jan 27, 2019

DBSCAN is already included. There is a successor, hdbscan which has a famously good Python package, and is fairly popular.

DBSCAN is already here, and there are hierarchical clustering algorithms as well, so it's possible some code could be reused. There's a good explanation here of all the pieces of the algorithm.

I wish I were submitting a PR instead of just a feature request issue, but I still think a pure Julia implementation would be good to have.

Also, if anybody Googling for a Julia HDBSCAN implementation stumbles on this issue, you can just use PyCall.jl to call the hdbscan Python package. It works fine, just remember to transpose your data matrix because the Python convention is the opposite of Julia.

@alyst alyst added the feature label Mar 28, 2019
@baggepinnen
Copy link

I created a minimum-effort wrapper here
https://github.com/baggepinnen/HDBSCAN.jl

@babaq
Copy link

babaq commented Jun 9, 2020

a Julia version is always the best, but thanks for the wrapper @baggepinnen .

@chelate
Copy link

chelate commented Mar 22, 2024

@MommaWatasu has coded this in pure julia here: https://github.com/MommaWatasu/HorseML.jl/blob/master/src/Clustering/HDBSCAN.jl

Data points are rows instead of columns.

It looks simple and clean, cant believe how much has been written for HorseML, dont know how it fits with rest of Clustering.jl api but I will try it out on my dataset now. Wondering how he would appreciate code reuse in Clustering.jl .

@MommaWatasu
Copy link

I wrote the code only for learning and I haven't maintained it for long (since no one uses it).
I created PR which contains my code from HorseML.jl. I hope my code is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants