GithubHelp home page GithubHelp logo

Comments (9)

riastradh-probcomp avatar riastradh-probcomp commented on August 29, 2024

Sounds reasonable to me. What about the lower bound? .01*sum((x-x̄)^2) as we currently use seems pretty arbitrary to me -- surely there could be clusters with much smaller variance than that, very far away from one another.

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on August 29, 2024

You could specify 0 as a lower bound for log_linspace, and you would get a grid starting at the smallest positive normal floating-point number.

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on August 29, 2024

I suppose the smallest distance between any pair would be a better starting point, but that takes O(n^2) time to compute.

from crosscat.

alxempirical avatar alxempirical commented on August 29, 2024

I guess you can do it in O(n*log(n)) by sorting, since closest pairs will be adjacent in the sorted list.

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on August 29, 2024

Right -- I was inexplicably thinking of >1-dimensional spaces. That would probably be a reasonable thing to do, then.

from crosscat.

alxempirical avatar alxempirical commented on August 29, 2024

I think you can probably even do closest points in high-dimensional spaces with a KD-tree.

from crosscat.

alxempirical avatar alxempirical commented on August 29, 2024

Oh, there's a wikipedia page about this exact problem.

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on August 29, 2024

Golly, my memory of computational geometry has rotted.

However, 0 may also nevertheless be a reasonable choice to start anyway -- for isolated outlying clusters we don't have a reasonable lower bound on their variance.

from crosscat.

alxempirical avatar alxempirical commented on August 29, 2024

Yes, the current lower bound seems likely to cause a problem.

from crosscat.

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.