question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve loo functionality

See original GitHub issue

loo functionality should be more verbose and return more informative data. (see Model Selection lecture in StanCon Helsinki by @avehtari)

Also docstrings needs extensive examples for loo-usage.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
avehtaricommented, Feb 21, 2019

There is additional documentation now in loo package. See the pull request https://github.com/stan-dev/loo/pull/98#pullrequestreview-206542641. The glossary will appear in loo web pages also after the next release in spring.

1reaction
avehtaricommented, Jan 20, 2019

R loo package stores and shows elpd_loo and looic. elpd_loo is clear as it has the specific definition in Vehtari et al (2017). I’m not happy with looic as it’s still not indicate whether it’s -1 or -2, but it’s been there for a while. (DIC is the only information criterion indicating the deviance in the name. Unfortunately the original definition of deviance makes really sense only in case of point estimates, and thus deviance scale is also a bit misleading name for -2 times the log score)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the loo package (version >= 2.0.0)
Introduction. This vignette demonstrates how to use the loo package to carry out Pareto smoothed importance-sampling leave-one-out ...
Read more >
Practical Bayesian model evaluation using leave-one-out ...
We can improve the LOO estimate using Pareto smoothed importance sampling (PSIS; Vehtari and Gelman, 2015), which applies a smoothing.
Read more >
Cross-validation FAQ • loo - Stan
The improvement in the predictive accuracy is a function of signal-to-noise-ratio, the size of the actual effect, and how much the effect is ......
Read more >
Ways That We've Improved The Portland Loo
Ways That We've Improved The Portland Loo · Steel Wall Panels · Flush Handle · Baby Changing Table · Toilet Water Temp.
Read more >
Untitled
loo 1.0.0. pareto_k_table and pareto_k_ids convenience functions for quickly identifying problematic observations; pareto k values now grouped into (-Inf, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found