Skip to content

Commit

Permalink
drop warmup for PG and Gibbs; drop obsolete argument
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Dec 18, 2023
1 parent f527669 commit a72db3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/mcmc/Inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@
chn1_contd = sample(gdemo_default, alg1, 5000; resume_from=chn1)
check_gdemo(chn1_contd)

chn1_contd2 = sample(gdemo_default, alg1, 5000; resume_from=chn1, reuse_spl_n=1000)
chn1_contd2 = sample(gdemo_default, alg1, 5000; resume_from=chn1)
check_gdemo(chn1_contd2)

chn2 = sample(gdemo_default, alg2, 2000; save_state=true)
chn2 = sample(gdemo_default, alg2, 5000; discard_initial=2000, save_state=true)
check_gdemo(chn2)

chn2_contd = sample(gdemo_default, alg2, 2000; resume_from=chn2)
check_gdemo(chn2_contd)

chn3 = sample(gdemo_default, alg3, 5_000; save_state=true)
chn3 = sample(gdemo_default, alg3, 5_000; discard_initial=2000, save_state=true)
check_gdemo(chn3)

chn3_contd = sample(gdemo_default, alg3, 5_000; resume_from=chn3)
Expand Down

0 comments on commit a72db3c

Please sign in to comment.