Giter Site home page Giter Site logo

Comments (4)

lpsinger avatar lpsinger commented on September 1, 2024

I just got this again with event 833111 from 2016. I get it reliably when I run with --enable-distance-map and set --seed=0. It's very odd how many events fail when I set --seed=0. I wonder if somehow that seed is an especially bad one and produces very repetitive pseudorandom numbers?

Simply changing bic > best_bic to bic >= best_bic would protect against this exception:

if bic >= best_bic:
    best_means = self.means
    best_assign = self.assign
    best_bic = bic

What, if any, undesirable consequences might this have?

from skyarea.

farr avatar farr commented on September 1, 2024

I think your suggestion for solving this problem would result in the possibility of no successful trials for the clustering step.

Will

On 29 Sep 2015, at 23:13, Leo Singer [email protected] wrote:

I just got this again with event 833111 from 2016. I get it reliably when I run with --enable-distance-map and set --seed=0. It's very odd how many events fail when I set --seed=0. I wonder if somehow that seed is an especially bad one and produces very repetitive pseudorandom numbers?

Simply changing bic > best_bic to bic >= best_bic would protect against this exception:

if bic >= best_bic:
best_means = self.means
best_assign = self.assign
best_bic = bic

What, if any, undesirable consequences might this have?


Reply to this email directly or view it on GitHub.

from skyarea.

lpsinger avatar lpsinger commented on September 1, 2024

OK. The more immediate cause is that the for the 3D KDE, the BIC is occasionally coming up as -inf because the posterior is identically zero at some of the sample points. Why would that happen? Is this just underflow?

from skyarea.

farr avatar farr commented on September 1, 2024

If those points are in the clusters that we just cut out of the posterior, then they can be far enough away from the other points that their posterior underflows to zero, yes. I'm not sure what to do about this....

Will

On 30 Sep 2015, at 03:32, Leo Singer [email protected] wrote:

OK. The more immediate cause is that the for the 3D KDE, the BIC is occasionally coming up as -inf because the posterior is identically zero at some of the sample points. Why would that happen? Is this just underflow?


Reply to this email directly or view it on GitHub.

from skyarea.

Related Issues (7)

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.