Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loo_epred #1641

Closed
avehtari opened this issue Apr 8, 2024 · 2 comments · Fixed by #1643
Closed

Add loo_epred #1641

avehtari opened this issue Apr 8, 2024 · 2 comments · Fixed by #1643
Labels
Milestone

Comments

@avehtari
Copy link
Contributor

avehtari commented Apr 8, 2024

brms has loo_predict() and loo_linpred(), but not loo_epred(). loo_epred() would be useful for various calibration plots. I have code for it and can make a PR. This requires adding loo_epred to rstantools, too.

Question: for multioutput models (at the moment interested in calibration checking for categorical and ordinal models), what should be the shape of the returned array? That is in which order to have the dimensions? Should length(probs)>1 supported, too?

This was referenced Apr 8, 2024
@paul-buerkner paul-buerkner added this to the brms 2.22.0 milestone Apr 9, 2024
@avehtari
Copy link
Contributor Author

loo_epred is now in rstantools (github)

@paul-buerkner
Copy link
Owner

Thank you! When will it be on CRAN? I would like to only merge loo_epred into brms once I can safely release the main branch on CRAN at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants