Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to swap rule and to acc_tuner #26

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add vector acc_tuners to examples
edoardociscato authored Aug 18, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0e8252023a3c88ebab9a5c36676619814d392795
6 changes: 3 additions & 3 deletions src/mopt/Examples.jl
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ function parallelNormal(niter=200)
"parallel"=>true,
"maxdists"=>[0.05 for i in 1:nchains],
"mixprob"=>0.3,
"acc_tuner"=>12.0,
"acc_tuners"=>[12.0 for i in 1:nchains],
"animate"=>false)

# plot slices of objective function
@@ -90,7 +90,7 @@ function serialNormal(niter=200)
"parallel"=>false,
"maxdists"=>[0.05 for i in 1:nchains],
"mixprob"=>0.3,
"acc_tuner"=>12.0,
"acc_tuners"=>[0.05 for i in 1:nchains],
"animate"=>false)

# plot slices of objective function
@@ -135,7 +135,7 @@ function BGP_example()
"coverage"=>0.005, # i.e. this gives you a 95% CI about the current parameter on chain number 1.
"maxdists"=>linspace(0.025, 2,nchains),
"mixprob"=>0.3,
"acc_tuner"=>12.0,
"acc_tuners"=>[0.05 for i in 1:nchains],
"animate"=>false)
# setup the BGP algorithm
MA = MAlgoBGP(mprob,opts)