Comments (3)
Currently, loo
suggests posterior
. if I would use posterior
to fix this issue, would it stay as suggested?
from loo.
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.
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)
- Adding "loo" criterion with add_criterion and moment_match=TRUE is failing even when save_pars(all=TRUE) was set during model fit HOT 12
- (loo_)(s)crps could ask for only one argument with predictions HOT 3
- `.wvar` internal function isn't calculating the right thing HOT 1
- Inconsistent Pareto k-values for SIS? HOT 10
- Update to new Stan array syntax
- Fix unbalanced knitr chunk delimiters
- Don't warn about slightly large khats
- Subsampling loo diff_srs_est code differs from eq (9) HOT 11
- possible typo in LFO-CV vignette HOT 1
- Improved mcse_elpd_loo HOT 4
- Use more functions from the posterior package
- E_loo fails with github version of posterior HOT 5
- pareto_khat with tail = "both" returns NA when either tails are constant HOT 1
- loo_moment_match_i computes wrong p_loo
- loo_moment_match fails if new log likelihood is -Inf
- Port C++ psis code to loo?
- Stan log_prob exceptions cause moment_matching to fail
- `loo_R2` can fail on examples where it worked before HOT 4
- Add support for Jacobian adjustment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loo.