Coder Social home page Coder Social logo

Comments (12)

segasai avatar segasai commented on June 11, 2024

Hi,

Thanks for the report. I'm currently trying to refactor/streamline/fix the bounding update code in #427 #425 #428.

I think there is certainly an issue there, I'm just trying to nail the proper fix.
If you can send me privately the code I could run myself, that'd be helpful.

Thanks

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

segasai avatar segasai commented on June 11, 2024

I don't think I received the attach. Presumably github strips them.
But in the meantime, could you try this branch https://github.com/joshspeagle/dynesty/tree/ellipsoid_fix
I'm wondering if that fixes your problem

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

segasai avatar segasai commented on June 11, 2024

Thanks for the code and the test, now https://github.com/joshspeagle/dynesty/tree/ellipsoid_fix branch should fix it.
There was definitely a bug when update_interval was incorrectly set for the dynamic sampling.
As the branch contains some refactoring as well, it's not yet final.

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

segasai avatar segasai commented on June 11, 2024

It is not surprising that as you progress in the posterior, the efficiency goes down as the ellipsoidal approximation becomes less accurate. Keep in mind that the efficiency is a 'cumulative' efficiency. I.e. from the very start.
So I'm not seeing evidence of an issue here.
Regarding same nc, It is not obvious why it is the case, but not impossible, so again, unless there is evidence of an issue, I'm not sure there is much to do.

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

segasai avatar segasai commented on June 11, 2024

Okay, I was confused - I thought you're using the uniform sampler, but you actually use the automatic sampler which means for this number of dimensions it'll be rwalk . The way rwalk is implemented is that it walks for a fixed number of steps. By default that number is determined by the dimension 20 + ndim. Hence 36.

from dynesty.

ajw278 avatar ajw278 commented on June 11, 2024

from dynesty.

segasai avatar segasai commented on June 11, 2024

Thanks for the original report Andrew, I will close the issue in the meantime.

from dynesty.

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.