Giter VIP home page Giter VIP logo

iwmm's People

Contributors

n-kall avatar rantahar avatar topipa avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

n-kall

iwmm's Issues

Moment matching for brmsfit

I think it would be good to have a moment_match.brmsfit method. It should probably return a modified brmsfit object with the draws replaced with the moment matched draws, so that further functions from brms would work (e.g. posterior_predict, see n-kall/priorsense#18). I'm not sure where the weights would be stored though. At some stage I think brms will store the posterior in draws format (rather than the current stanfit object), so that would help, but that will likely only happen in the next major release.

Replace loo::psis with posterior::pareto_khat (when available)

Currently loo::psis is used to calculate the pareto-k diagnostics, but there is work to have a pareto_khat diagnostic function in posterior. Using this instead would remove the dependency on loo and allow for loo to suggest iwmm (as discussed here).

I can make a branch implementing this change and create a PR once the corresponding functions are merged into posterior

CRAN submission

Now that we've changed over to posterior rather than loo for the psis code, we could think about submitting to CRAN so that other packages could use the iwmm functionality. Specifically I'm thinking of priorsense and potentially loo itself. I think that iwmm could be used to fix stan-dev/loo/issues/209

I'm opening this issue mainly to keep track of the tasks we would need to do to get iwmm on CRAN.

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.