Skip to content

Commit 9a429a6

Browse files
committed
Updated description for parallel tests
1 parent 36ffdeb commit 9a429a6

File tree

3 files changed

+43
-31
lines changed

3 files changed

+43
-31
lines changed

DESCRIPTION

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1-
Package: loo
21
Type: Package
3-
Title: Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian Models
2+
Package: loo
3+
Title: Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian
4+
Models
45
Version: 2.8.0.9000
56
Date: 2024-07-03
6-
Authors@R: c(person("Aki", "Vehtari", email = "Aki.Vehtari@aalto.fi", role = c("aut")),
7-
person("Jonah", "Gabry", email = "jsg2201@columbia.edu", role = c("cre", "aut")),
8-
person("Måns", "Magnusson", role = c("aut")),
9-
person("Yuling", "Yao", role = c("aut")),
10-
person("Paul-Christian", "Bürkner", role = c("aut")),
11-
person("Topi", "Paananen", role = c("aut")),
12-
person("Andrew", "Gelman", role = c("aut")),
13-
person("Ben", "Goodrich", role = c("ctb")),
14-
person("Juho", "Piironen", role = c("ctb")),
15-
person("Bruno", "Nicenboim", role = c("ctb")),
16-
person("Leevi", "Lindgren", role = c("ctb")))
7+
Authors@R: c(
8+
person("Aki", "Vehtari", , "Aki.Vehtari@aalto.fi", role = "aut"),
9+
person("Jonah", "Gabry", , "jsg2201@columbia.edu", role = c("cre", "aut")),
10+
person("Måns", "Magnusson", role = "aut"),
11+
person("Yuling", "Yao", role = "aut"),
12+
person("Paul-Christian", "Bürkner", role = "aut"),
13+
person("Topi", "Paananen", role = "aut"),
14+
person("Andrew", "Gelman", role = "aut"),
15+
person("Ben", "Goodrich", role = "ctb"),
16+
person("Juho", "Piironen", role = "ctb"),
17+
person("Bruno", "Nicenboim", role = "ctb"),
18+
person("Leevi", "Lindgren", role = "ctb")
19+
)
1720
Maintainer: Jonah Gabry <jsg2201@columbia.edu>
18-
URL: https://mc-stan.org/loo/, https://discourse.mc-stan.org
19-
BugReports: https://github.com/stan-dev/loo/issues
2021
Description: Efficient approximate leave-one-out cross-validation (LOO)
21-
for Bayesian models fit using Markov chain Monte Carlo, as
22-
described in Vehtari, Gelman, and Gabry (2017)
23-
<doi:10.1007/s11222-016-9696-4>.
24-
The approximation uses Pareto smoothed importance sampling (PSIS),
25-
a new procedure for regularizing importance weights.
26-
As a byproduct of the calculations, we also obtain approximate
27-
standard errors for estimated predictive errors and for the comparison
28-
of predictive errors between models. The package also provides methods
29-
for using stacking and other model weighting techniques to average
30-
Bayesian predictive distributions.
22+
for Bayesian models fit using Markov chain Monte Carlo, as described
23+
in Vehtari, Gelman, and Gabry (2017) <doi:10.1007/s11222-016-9696-4>.
24+
The approximation uses Pareto smoothed importance sampling (PSIS), a
25+
new procedure for regularizing importance weights. As a byproduct of
26+
the calculations, we also obtain approximate standard errors for
27+
estimated predictive errors and for the comparison of predictive
28+
errors between models. The package also provides methods for using
29+
stacking and other model weighting techniques to average Bayesian
30+
predictive distributions.
3131
License: GPL (>=3)
32-
LazyData: TRUE
32+
URL: https://mc-stan.org/loo/, https://discourse.mc-stan.org
33+
BugReports: https://github.com/stan-dev/loo/issues
3334
Depends:
3435
R (>= 3.1.2)
3536
Imports:
@@ -50,9 +51,13 @@ Suggests:
5051
rstantools,
5152
spdep,
5253
testthat (>= 2.1.0)
54+
VignetteBuilder:
55+
knitr
5356
Config/testthat/edition: 3
54-
VignetteBuilder: knitr
57+
Config/testthat/parallel: true
58+
Config/testthat/start-first: loo_subsampling_cases, loo_subsampling
5559
Encoding: UTF-8
56-
SystemRequirements: pandoc (>= 1.12.3), pandoc-citeproc
57-
RoxygenNote: 7.3.2
60+
LazyData: TRUE
5861
Roxygen: list(markdown = TRUE)
62+
RoxygenNote: 7.3.2
63+
SystemRequirements: pandoc (>= 1.12.3), pandoc-citeproc

tests/testthat/_snaps/relative_eff.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# relative_eff results haven't changed
2+
3+
WAoAAAACAAQFAAACAwAAAAAOAAAAID/uIiOKmu2kP+6GCkXEpTM/70Lb4e15Oj/tZ65FV0vH
4+
P+2GnH09nJk/7Hw1VgDmBz/tuCP594O4P+1Ulj+KOoY/6+Tq05WOpz/ugUxGcsIDP+0VSE2x
5+
w40/7vVLll1+uj/s1cJEtfenP+hJq3448q4/6vM9zr6Qrj/usFhDXBk+P+H4phZGDTo/8E/4
6+
4nsWuD/obI1QMua8P+/z/ldoum4/7c6bXXFkxz/sJoYfhWKlP+0XU017if0/7WYXpNYh1z/u
7+
z3qnQw2lP+d0gPdQiEk/6UBABJU8Ij/mpI+Vo6SEP+z23xd7kYU/7MnA0gDWhj/si3zUJgmW
8+
P+7KcLiaKcM=
9+

tests/testthat/test_relative_eff.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ library(loo)
22
options(mc.cores = 1)
33
set.seed(123)
44

5-
context("relative_eff methods")
6-
75
LLarr <- example_loglik_array()
86
LLmat <- example_loglik_matrix()
97

0 commit comments

Comments
 (0)