Code Monkey home page Code Monkey logo

Comments (6)

sauln avatar sauln commented on May 21, 2024

This is a bit confusing. If you have any ideas for how to fix it, a PR would be very welcome.

I think this started as a necessary condition when using a clustering method that requires n many samples or will fail and was not meant as a user facing facility.

Do you want to expose the option to set min_cluster_samples to the user in a better way?

from kepler-mapper.

rintrah avatar rintrah commented on May 21, 2024

Dear all,

I ran into the same odd interaction and decided to make explicit the number of cells. I also had some odd interaction with agglomerative clustering and min_cluster_samples.

I think that it would be better to expose the option min_cluster_samples to set to the user.

Kind regards,

from kepler-mapper.

MLWave avatar MLWave commented on May 21, 2024

Cool, we can do that.

Originally this was added, because some cluster algorithms in Scikit-learn exit with an error if you try clustering data that has a size less than n_clusters. (n_clusters=3 and 2 samples in hypercube results in an error).

from kepler-mapper.

sauln avatar sauln commented on May 21, 2024

Hi @rintrah, Pull requests are very welcome if you have already made some of these changes!

Thank you!

from kepler-mapper.

rintrah avatar rintrah commented on May 21, 2024

Hello, Sauln,

I am sorry for my late response, but the past days have been hectic.

I will write a clean version and do a pull request. I haven't done pull request before, but I think it won't be so difficult.

Best wishes,

from kepler-mapper.

sauln avatar sauln commented on May 21, 2024

No worries!

We look forward to the PR and will try to help in whatever way possible to make the experience easy.

Please let me know if you have any questions.

from kepler-mapper.

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.