Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
francescoalemanno committed Sep 12, 2020
1 parent 13f5ef1 commit 8542e14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
AbstractMCMC = "2.1.0 - 3.0.0"
Distributions = "0.18 - 0.30"
MonteCarloMeasurements = "0.9.5 - 1.0.0"
julia = "1.4 - 2.0"
julia = "1.3 - 2.0"

[extras]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand Down
2 changes: 1 addition & 1 deletion src/smc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function costfun((u1, p1); raw=false)
sqrt(sum(abs2,[std(x)-2.2, median(x)-0.4]./[2.2,0.4]))
end
@time R=smc(Factored(Uniform(0,1), Uniform(0.5,1)), costfun, nparticles=100,alpha=0.5, verbose=true, parallel=true)
@time R=smc(Factored(Uniform(0,1), Uniform(0.5,1)), costfun, nparticles=100,alpha=0.75, verbose=true, parallel=true)
plan=ApproxPosterior(Factored(Uniform(0,1), Uniform(0.5,1)), costfun, 0.01)
Expand Down

0 comments on commit 8542e14

Please sign in to comment.