diff --git a/articles/performance.html b/articles/performance.html index 4ba4cdf..794108d 100644 --- a/articles/performance.html +++ b/articles/performance.html @@ -74,14 +74,12 @@
res <- compare_eta_comptime_across_nvars(
- n_vars = c(2, seq(from = 20, to = 200, by = 20)),
+ n_vars = c(2, seq(from = 40, to = 400, by = 40)),
n_samples = 1,
burnin = 0,
w = 0.5)
-plot_eta_comptime(res, facet_by = "w")
-#> Don't know how to automatically pick scale for object of type <difftime>.
-#> Defaulting to continuous.
plot_eta_comptime(res, facet_by = "w")
Could run over different slice widths if interested
diff --git a/articles/performance_files/figure-html/show-compare-1.png b/articles/performance_files/figure-html/show-compare-1.png index fe2364f..8b58f33 100644 Binary files a/articles/performance_files/figure-html/show-compare-1.png and b/articles/performance_files/figure-html/show-compare-1.png differ diff --git a/articles/pospkg_files/figure-html/normal-normal-1.png b/articles/pospkg_files/figure-html/normal-normal-1.png index c4b7b05..0fe6efd 100644 Binary files a/articles/pospkg_files/figure-html/normal-normal-1.png and b/articles/pospkg_files/figure-html/normal-normal-1.png differ diff --git a/articles/pospkg_files/figure-html/slice-elliptical-1.png b/articles/pospkg_files/figure-html/slice-elliptical-1.png index ef9dba1..e96fc66 100644 Binary files a/articles/pospkg_files/figure-html/slice-elliptical-1.png and b/articles/pospkg_files/figure-html/slice-elliptical-1.png differ diff --git a/articles/pospkg_files/figure-html/vary-df-1.png b/articles/pospkg_files/figure-html/vary-df-1.png index 7e2b30d..5b5cef1 100644 Binary files a/articles/pospkg_files/figure-html/vary-df-1.png and b/articles/pospkg_files/figure-html/vary-df-1.png differ diff --git a/articles/pospkg_files/figure-html/vary-w-1.png b/articles/pospkg_files/figure-html/vary-w-1.png index b1cf70d..1b8daa8 100644 Binary files a/articles/pospkg_files/figure-html/vary-w-1.png and b/articles/pospkg_files/figure-html/vary-w-1.png differ diff --git a/pkgdown.yml b/pkgdown.yml index aa2f0a1..ef6cfcc 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -5,7 +5,7 @@ articles: customising: customising.html performance: performance.html pospkg: pospkg.html -last_built: 2024-12-08T22:25Z +last_built: 2024-12-08T23:32Z urls: reference: https://mathiaslj.github.io/mcmcglm/reference article: https://mathiaslj.github.io/mcmcglm/articles diff --git a/reference/compare_eta_comptime_across_nvars.html b/reference/compare_eta_comptime_across_nvars.html index b9e607d..263d6bc 100644 --- a/reference/compare_eta_comptime_across_nvars.html +++ b/reference/compare_eta_comptime_across_nvars.html @@ -145,39 +145,40 @@Examplescompare_eta_comptime_across_nvars(n_vars = c(2, seq(from = 20, to = 60, by = 20)), n_samples = 100, burnin = 20) -#> Sampling from posterior ■■■■■■■■ 22% | ETA: 4s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 91% | ETA: 0s +#> Sampling from posterior ■■■■■■■ 21% | ETA: 4s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■ 87% | ETA: 0s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■ 69% | ETA: 1s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■ 63% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■■ 9% | ETA: 20s -#> Sampling from posterior ■■■■■■■■■■■■■■■■ 49% | ETA: 5s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s +#> Sampling from posterior ■■■ 6% | ETA: 27s +#> Sampling from posterior ■■■■■■■■■■■■■■■ 45% | ETA: 6s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■ 85% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■■■ 13% | ETA: 15s -#> Sampling from posterior ■■■■■■■■■■■■■■■■ 49% | ETA: 5s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s +#> Sampling from posterior ■■■■ 9% | ETA: 19s +#> Sampling from posterior ■■■■■■■■■■■■■■■ 45% | ETA: 6s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■ 84% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■ 2% | ETA: 2m -#> Sampling from posterior ■■■■■ 12% | ETA: 38s -#> Sampling from posterior ■■■■■■■■■■■ 32% | ETA: 17s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■ 53% | ETA: 10s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■ 76% | ETA: 4s +#> Sampling from posterior ■ 1% | ETA: 3m +#> Sampling from posterior ■■■■ 10% | ETA: 44s +#> Sampling from posterior ■■■■■■■■■■ 29% | ETA: 19s +#> Sampling from posterior ■■■■■■■■■■■■■■■■ 51% | ETA: 10s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■ 73% | ETA: 5s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 97% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■■ 9% | ETA: 30s -#> Sampling from posterior ■■■■■■■■■■■ 33% | ETA: 12s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■ 58% | ETA: 7s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■ 83% | ETA: 2s +#> Sampling from posterior ■■■ 6% | ETA: 39s +#> Sampling from posterior ■■■■■■■■■■ 29% | ETA: 14s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■ 53% | ETA: 8s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■ 78% | ETA: 3s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s #> time linear_predictor_calc n_vars n_samples beta_mean -#> 1 0.3299866 secs update 2 100 0 -#> 2 0.2936881 secs naive 2 100 0 -#> 3 3.6798954 secs update 20 100 0 -#> 4 3.7449553 secs naive 20 100 0 -#> 5 8.7484875 secs update 40 100 0 -#> 6 9.0414798 secs naive 40 100 0 -#> 7 17.2183602 secs update 60 100 0 -#> 8 14.0114274 secs naive 60 100 0 +#> 1 0.3153636 secs update 2 100 0 +#> 2 0.2818551 secs naive 2 100 0 +#> 3 3.7287543 secs update 20 100 0 +#> 4 3.7928767 secs naive 20 100 0 +#> 5 8.8522904 secs update 40 100 0 +#> 6 9.1041164 secs naive 40 100 0 +#> 7 17.2623024 secs update 60 100 0 +#> 8 14.2019286 secs naive 60 100 0 #> beta_variance family sd qslice_fun w parallelised #> 1 1 gaussian 1 qslice::slice_stepping_out 0.5 FALSE #> 2 1 gaussian 1 qslice::slice_stepping_out 0.5 FALSE diff --git a/reference/plot_eta_comptime-1.png b/reference/plot_eta_comptime-1.png index 90e6d92..a9355a4 100644 Binary files a/reference/plot_eta_comptime-1.png and b/reference/plot_eta_comptime-1.png differ diff --git a/reference/plot_eta_comptime.html b/reference/plot_eta_comptime.html index dd91650..52683c9 100644 --- a/reference/plot_eta_comptime.html +++ b/reference/plot_eta_comptime.html @@ -76,33 +76,32 @@
Examples n_samples = 100, burnin = 20) #> Sampling from posterior ■■■■■■ 18% | ETA: 5s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■ 76% | ETA: 1s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■ 69% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■ 60% | ETA: 1s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■ 55% | ETA: 2s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■■ 8% | ETA: 19s -#> Sampling from posterior ■■■■■■■■■■■■■■ 44% | ETA: 6s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■ 82% | ETA: 2s +#> Sampling from posterior ■■■ 5% | ETA: 26s +#> Sampling from posterior ■■■■■■■■■■■■■ 41% | ETA: 6s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■ 78% | ETA: 2s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■ 2% | ETA: 1m -#> Sampling from posterior ■■■■■■■■■■ 31% | ETA: 10s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■ 74% | ETA: 3s +#> Sampling from posterior ■ 1% | ETA: 2m +#> Sampling from posterior ■■■■■■■■■ 26% | ETA: 12s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■ 70% | ETA: 3s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s #> Sampling from posterior ■ 1% | ETA: 4m -#> Sampling from posterior ■■■ 6% | ETA: 1m -#> Sampling from posterior ■■■■■■■■ 23% | ETA: 24s -#> Sampling from posterior ■■■■■■■■■■■■■■ 43% | ETA: 14s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■ 65% | ETA: 7s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■ 88% | ETA: 2s +#> Sampling from posterior ■■■ 5% | ETA: 1m +#> Sampling from posterior ■■■■■■■ 21% | ETA: 26s +#> Sampling from posterior ■■■■■■■■■■■■■ 41% | ETA: 14s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■ 63% | ETA: 8s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■ 85% | ETA: 3s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s -#> Sampling from posterior ■■ 2% | ETA: 1m -#> Sampling from posterior ■■■■■■■■■ 25% | ETA: 13s -#> Sampling from posterior ■■■■■■■■■■■■■■■■ 49% | ETA: 8s -#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■ 74% | ETA: 4s +#> Sampling from posterior ■ 1% | ETA: 2m +#> Sampling from posterior ■■■■■■■■ 22% | ETA: 14s +#> Sampling from posterior ■■■■■■■■■■■■■■■ 46% | ETA: 8s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■ 71% | ETA: 4s +#> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 96% | ETA: 1s #> Sampling from posterior ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s plot_eta_comptime(res) -#> Don't know how to automatically pick scale for object of type <difftime>. -#> Defaulting to continuous.
![]()