Git Product home page Git Product logo

Comments (4)

vuolleko avatar vuolleko commented on September 20, 2024

Yes, I can observe the same behaviour, though the order can be the opposite as well, and vary from sample to sample.

The number of evidence points for BOLFI affects the shape of the fitted GP, which in turn affects the shape of the posterior. The NUTS sampler is a self-adjusting, recursive and random algorithm, and possibly chooses different internal settings in these cases. Due to the recursion the differences in runtime can be significant. Also, the default initialization points are taken from the evidence with minimal discrepancy, and these can have a big effect as well.

from elfi.

umbertopicchini avatar umbertopicchini commented on September 20, 2024

oh great, makes sense! I forgot about the NUTS peculiarities....
Thank you!

from elfi.

umbertopicchini avatar umbertopicchini commented on September 20, 2024

Is NUTS the only available sampler within bolfi.sample? How do I find the list of parameters/options for bolfi.sample in the documentation?

from elfi.

vuolleko avatar vuolleko commented on September 20, 2024

There's an open PR #296 to add the existing Metropolis sampler to the BOLFI.sample interface, but for the time being, NUTS is your only built-in option. Basically you could of course give the BOLFI posterior logpdf to any external sampler (such as elfi.methods.mcmc.metropolis).

The standard Python docstring shows the available arguments for BOLFI.sample, available also here:

https://elfi.readthedocs.io/en/latest/api.html#elfi.BOLFI.sample

from elfi.

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.