|
404 | 404 | esjds = esjd(chain_s) |
405 | 405 | @info "ESJD [SRFI,RW] = $esjds" |
406 | 406 | # approx [0.0002, 0.26, 0.4]" |
407 | | - @test all(isapprox.(esjd1, esjds, rtol = 0.5)) |
| 407 | + @test all(isapprox.(esjd1, esjds, rtol = 0.75)) |
408 | 408 | @info "Posterior mean: $(posterior_mean_s) ≈ $(mle)" |
409 | 409 | @test isapprox(posterior_mean_s, mle; atol = 2e-1) |
410 | 410 |
|
|
415 | 415 | esjd2 = esjd(chain_2) |
416 | 416 | @info "ESJD (-with-svd)= $esjd2" |
417 | 417 | # approx [0.00015, 0.26, 0.35] |
418 | | - @test all(isapprox.(esjd1, esjd2, rtol = 0.5)) |
| 418 | + @test all(isapprox.(esjd1, esjd2, rtol = 0.75)) |
419 | 419 | @test isapprox(posterior_mean_2, posterior_mean_1; atol = 0.1) |
420 | 420 | @info "Posterior mean: $(posterior_mean_2) ≈ $(mle)" |
421 | 421 |
|
|
516 | 516 | @info "ESJD [SRFI,pCN] = $esjds" |
517 | 517 | # approx [0.0002, 0.26, 0.4]" |
518 | 518 | @info "Posterior mean: $(posterior_mean_s) ≈ $mle" |
519 | | - @test all(isapprox.(esjd1, esjds, rtol = 0.5)) |
| 519 | + @test all(isapprox.(esjd1, esjds, rtol = 0.75)) |
520 | 520 |
|
521 | 521 | # now test SVD normalization |
522 | 522 | _, posterior_mean_2, chain_2 = mcmc_test_template(prior, σ2_y, em_2; mcmc_params_pcn...) |
|
0 commit comments