Giter Site home page Giter Site logo

Update E_loo khat diagnostic about loo HOT 3 CLOSED

avehtari avatar avehtari commented on June 11, 2024
Update E_loo khat diagnostic

from loo.

Comments (3)

avehtari avatar avehtari commented on June 11, 2024

Currently, loo suggests posterior. if I would use posterior to fix this issue, would it stay as suggested?

from loo.

jgabry avatar jgabry commented on June 11, 2024

It’s possible to keep it in Suggests, check for posterior when the user runs E_loo, and error if it’s not found. But if we think E_loo is an important function and there’s no option to run E_loo without posterior, we should probably move it to Imports instead of Suggests, which will automatically install posterior when loo is installed. The downside is that it forces the user to have all the additional dependencies that posterior requires in order to use anything in the loo package, even the functions that don’t need posterior.

from loo.

avehtari avatar avehtari commented on June 11, 2024

Importing posterior would add dependency on methods, abind, rlang, tibble, vctrs, tensorA, pillar, distributional
rstanarm, cmdstanr, and brms already import posterior
rstan imports methods, but no posterior, but I think it would be good if rstan would start using posterior, too
other packages depending on loo, depend or import rstanarm, cmdstanr, brms, or rstan, so some packages would get the extra dependencies

I will first make a PR with dependency on posterior, and if decided that no dependency, then I'll copy the functions

from loo.

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.