hdbscan icon indicating copy to clipboard operation
hdbscan copied to clipboard

cpp implementation

Open yossibiton opened this issue 4 years ago • 3 comments

Hi,

You have a really great repository ! After trying it successfully i need to apply hdbscan as part of cpp library - do you have some implementation in cpp following the same logic as the python library ?

I found this repo : https://github.com/rohanmohapatra/hdbscan-cpp but it works much slower than your library - especially the part of finding the clusters hierarchy from MST, and the condense_tree logic. By slow i mean it takes 10 minutes vs. 1 second with your code.

yossibiton avatar Jul 16 '20 15:07 yossibiton

I don't really have any known C++ implementations to hand. It is probably not that hard to translate the Cython to C++ (using cython to do the work) and then call the relevant functions. The resulting C++ produced by Cython would be quite ugly, but if all you want to do is call into the functions it might suffice.

lmcinnes avatar Jul 17 '20 21:07 lmcinnes

I'd be interested in this for porting the algorithm to openFrameworks.

jamesb93 avatar Jul 18 '20 00:07 jamesb93

Hi all, did you end up porting the library? @yossibiton, @jamesb93

doloresgarcia avatar Apr 26 '24 09:04 doloresgarcia