Conversation
|
I haven't had a chance to go through this in detail, but looks like it causes several tests to fail. Also I wonder if there will be any issue with reverse dependencies, but we can check that later. |
|
@avehtari CRAN wants a new release of loo before February 20th to fix some minor documentation issue that doesn't affect anything and is only flagged in the newest version of R. We can include this if we fix the tests and check reverse dependencies. I can check the reverse dependencies once everything is passing. |
|
Yesterday, I started working on fixing the PR, and I'm sorry for being so sloppy the first time and wasting your time. As there were still some checks failing, I didn't push the changes that I had made so far. Thanks for the additional comments. l'll keep working on this today. |
… new-pareto-k-threshold
|
n-kall
left a comment
There was a problem hiding this comment.
I went through the doc changes, and made a few minor suggestions
Co-authored-by: n-kall <33577035+n-kall@users.noreply.github.com>
jgabry
left a comment
There was a problem hiding this comment.
Changes look good. I made a bunch of tiny suggestions.
| graphics::points(x = if (use_n_eff) n_eff[k < 0.5] else k[k < 0.5], | ||
| col = clrs[k < 0.5], pch = 3, cex = .6) | ||
| graphics::points(x = if (use_n_eff) n_eff[k < threshold] else k[k < threshold], | ||
| col = clrs[k < threshold], pch = 3, cex = .6) |
There was a problem hiding this comment.
I haven't tested all the changes to the plotting code, but they look ok
Co-authored-by: Jonah Gabry <jgabry@gmail.com>
|
Tests are passing on my computer. I still need to write more documentation. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #235 +/- ##
==========================================
- Coverage 93.00% 92.41% -0.59%
==========================================
Files 30 30
Lines 2788 2823 +35
==========================================
+ Hits 2593 2609 +16
- Misses 195 214 +19 ☔ View full report in Codecov by Sentry. |
|
Improved docs, fixed a few more things in code |
|
Great, looks like tests are passing on GitHub too, it's just R cmd check is failing due to a documentation issue: https://github.com/stan-dev/loo/actions/runs/7686962192/job/20946444630?pr=235#step:6:167. It might actually be that the doc just needs to be regenerated to match the code. |
|
All the vignettes have been now updated. I couldn't run loo2-non-factorized vignette as installation of |
|
Should be complete now |
n-kall
left a comment
There was a problem hiding this comment.
Looked through the vignette changes. Looks good, only found one thing
Co-authored-by: n-kall <33577035+n-kall@users.noreply.github.com>
|
Here is a proposal for a longer news item There are two major changes in the new loo release
|
These look good. I made a few tiny edits and added them to the NEWS file. I will update the rest of the NEWS file to reflect some other changes we made in other PRs before releasing. |
Nothing that I can think of from my side. I think the next related thing will be to update the documentation for |
Ok cool. And thanks for helping to review this.
Sounds good, thanks. |
|
@avehtari If I submit a bayesplot release with Teemu's fix for his recent PR, is that sufficient to fix the issue with the pit plots in the loo vignette or does the vignettes need additional editing after that? I think I will go ahead and submit that patch release of bayesplot today or tomorrow (it only contains that one bug fix). |
|
Teemu's bayesplot PR and fix for discrete data PIT affects ppc_pit_ecdf*, but not ppc_loo_pit_qq. Teemu's rsantools PR stan-dev/rstantools#121 fixes loo_pit and thus fixes ppc_loo_pit_qq used in loo2-example.Rmd |
|
Oh ok thanks, that makes sense. |
|
Merging now! |
Fixes #234
Ping @n-kall