Coder Social home page Coder Social logo

Comments (4)

mhahsler avatar mhahsler commented on May 23, 2024

@joeroe Do you know how to add this functionality? @peekxc is the original author of the HDBSCAN implementation.

from dbscan.

peekxc avatar peekxc commented on May 23, 2024

I'm not familiar with the paper mentioned. That being said, it may be possible to post-process the info returned by the internal hdbscan calls to add this. After all, obtaining DBSCAN* clusters amounts to cutting linkage produced by hdbscan via cutree.

Otherwise, the computeStability function would have to be forked on the cpp-side, which is a bit involved.

from dbscan.

joeroe avatar joeroe commented on May 23, 2024

It's a bit beyond me, to be honest. Since it's a modification to the cluster extraction algorithm, does it have to be in the Cpp code? Here's the PR that added it to Python's hdbscan: scikit-learn-contrib/hdbscan#329. Perhaps @cmalzer or @lmcinnes could help?

from dbscan.

lmcinnes avatar lmcinnes commented on May 23, 2024

My R is not great, and tracing it into the C++ I lose track a little of exactly what data structures we have, but if I read it tight you should be able to insert code here at the R level to do the epsilon checks and pick different clusters accordingly. There are different data structures in play; I think this is a lot easier if you have the condensed (in this package simplified) tree data structure available -- it isn't clear to me if that's actually exposed at the R level, or if you have to be in the C++.

from dbscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.