Skip to content

Commit

Permalink
Test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed May 18, 2017
1 parent 811a9eb commit 0ffad3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nips-2017/sv/sim-data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ const sv_exact = Dict(

using HDF5, JLD

save(Pkg.dir("Turing")*"/nips-2017/sv/sv-data.jld", "data", sv_data)
save(Pkg.dir("Turing")*"/nips-2017/sv/sv-exact.jld", "exact", sv_exact)
save(Pkg.dir("Turing")*"/nips-2017/sv/sv-data-4.jld", "data", sv_data)
save(Pkg.dir("Turing")*"/nips-2017/sv/sv-exact-4.jld", "exact", sv_exact)
3 changes: 2 additions & 1 deletion nips-2017/sv/stochastic-volatility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ end

model_f = sv_model(data=sv_data[1])

sample_n = 10000
sample_n = 10

for run = 1:10
println("Current run = $run for dataset = $dataset")

# Plot

Expand Down

0 comments on commit 0ffad3b

Please sign in to comment.