Giter Site home page Giter Site logo

Comments (5)

nickjcroucher avatar nickjcroucher commented on June 15, 2024 1

Great, I've started a run with a manual parameter set - would be worth checking a start_s parameter has been provided there, some idiot might only provide coordinates of means and get confused by the error messages...

from poppunk.

johnlees avatar johnlees commented on June 15, 2024

I suspect this a limitation of the HDBSCAN code when there are a large number of samples and using multiprocessing, based on reading this:
https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647

Was this with the default 10^5 subsamples? Perhaps DBSCAN can also give a good fit with fewer samples than this?
It might be the case that the core_dist_n_jobs doesn't give much of a speedup (not sure how much of the algorithm is spent on this step), in which case we should just remove it.

from poppunk.

nickjcroucher avatar nickjcroucher commented on June 15, 2024

Yes, this was run with the default number of samples. The issue you point out seems pretty fundamental - we could keep the caching for single threaded applications, and turn it off for multi-threading - might be worth profiling whether there is any benefit for using multiple threads in the latter case.

from poppunk.

johnlees avatar johnlees commented on June 15, 2024

Using the E. coli dataset (1509 strains, fitting 10^5 points) took 6min 29s, on either 1 or 4 threads. I would suggest just removing the multithreading based on this.
Or was this an issue specifically when the cache is used, and multiple iterations of HDBSCAN are run?

from poppunk.

johnlees avatar johnlees commented on June 15, 2024

Also this made me spot an issue with ref clustering not printing that I just fixed in 3c62546
which is worth pulling

from poppunk.

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.