Jeszcze pytanie do odwiedzających tutaj
W pyinterpolate wykorzystuję paczkę hdbscan do wykrywania zgrupowanych klastrów punktów (trzeba te grupy rozbijać żeby nie wpływały na analizę). Problem jest taki, że ta paczka jest cholernie ciężka i wrzuca jeszcze np.: scikit-learn do dependencies + teraz mam z nią mnóstwo kłopotów żeby zrobić pin-y wersji, która poprawnie się zainstaluje (paczka polega na kompilowanym kodzie).
Mam w związku z tym dwa pytania:
- czy ktoś nie chciałby zaimplementować tego algorytmu bazując na numpy i scipy? Może jako małą paczkę Open Source? Ja chętnie pomogę, ale sam nie mam tak dużo czasu na te zabawy

- czy macie może materiały nt.: algorytmicznej implementacji HDBSCAN?
Generalnie na 100% przepiszę ten algorytm kiedys w przyszłości, bo poleganie na third-party potrafi też wyjść bokiem.
Ahhhh… I wish I had known about this algorithm 8 years ago… At my company we needed exactly something like this!
Does look indeed like it could be built with simple numpy (or even pure python), if you’re willing to give up some speed…
Not volunteering though for now… I don;t think I can squeeze it inbetween my other projects…
Yep, this algorithm seems to be relatively easy for implementation, even without optimization required for huge datasets. I don’t understand why the implementation of this algorithm drags with it scikit-learn which is very big package. And there is a problem with cython too.
Few days before I’ve removed another elephant from the requirements (Pillow). I have one functionality for saving tiff files, and recommended way was using Pillow. But this package is much more than saving and reading tiff files! Then I’d decided that one functionality == one small package OR own implementation. Fortunately, in this case I’ve found pylibtiff package that is light and focused only on one problem 
I didn’t have this perspective before, but with implementing ML models on production I realized that many of packages are really heavy and generate additional costs (we cannot use vanilla lambda, we must push container to ECR and Docker container, and cold start is very long if packages are heavy).