Skip to content

Commit

Permalink
Merge branch 'nuts-models' of github.com:yebai/Turing.jl into nuts-mo…
Browse files Browse the repository at this point in the history
…dels

# Conflicts:
#	benchmarks/normal-mixture-stan.run.jl
#	benchmarks/simple-normal-mixture-stan.run.jl
#	example-models/benchmarks/simple-normal-mixture-stan.run.jl
  • Loading branch information
Hong Ge committed May 5, 2017
2 parents 641a8fd + 2ea3de1 commit 72deab9
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 602 deletions.
13 changes: 13 additions & 0 deletions benchmarks/simple-normal-mixture-stan.run.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
include("simple-normal-mixture-stan.model.jl")
include("simple-normal-mixture-stan.data.jl")

stan_model_name = "normalmixture"
simplenormalmixturestan = Stanmodel(name=stan_model_name, model=simplenormalmixturemodel, nchains=1);

nm_stan_sim = stan(simplenormalmixturestan, [Dict("N"=>100, "y"=>simplenormalmixturestandata[1]["y"][1:100])], CmdStanDir=CMDSTAN_HOME, summary=false)
# describe(nm_stan_sim)

nm_theta = nm_stan_sim[1:1000, ["theta"], :].value[:]
nm_mu_1 = nm_stan_sim[1:1000, ["mu.1"], :].value[:]
nm_mu_2 = nm_stan_sim[1:1000, ["mu.2"], :].value[:]
nm_time = get_stan_time(stan_model_name)
6 changes: 0 additions & 6 deletions example-models/benchmarks/bernoulli-stan.data.jl

This file was deleted.

16 changes: 0 additions & 16 deletions example-models/benchmarks/bernoulli-stan.model.jl

This file was deleted.

1 change: 0 additions & 1 deletion example-models/benchmarks/bernoulli.data.jl

This file was deleted.

24 changes: 0 additions & 24 deletions example-models/benchmarks/bernoulli.model.jl

This file was deleted.

46 changes: 0 additions & 46 deletions example-models/benchmarks/lda-stan.data.jl

This file was deleted.

28 changes: 0 additions & 28 deletions example-models/benchmarks/lda-stan.model.jl

This file was deleted.

51 changes: 0 additions & 51 deletions example-models/benchmarks/lda.model.jl

This file was deleted.

Loading

0 comments on commit 72deab9

Please sign in to comment.