Skip to content

Commit 67ef9e0

Browse files
authored
Dev (#62)
* update dependencies * remove junk files * remove junk files * Reorganizing (Good idea Kusti) * internals.md * update README * ignore .vscode directory * Revert "ignore .vscode directory" This reverts commit 5753f58. * Delete settings.json * split jointdistribution.jl * parameterize model by module * make `runtests` throw errors * Parameterize Model by module * debugging * Update for JuliaStaging/GeneralizedGenerated.jl#28 * insert `$sympy`(SymPy) & `$as`(TransformVariables.jl); (#63) tests passed * Package upper bounds * fix demo * Being less fancy with logpdf * Move logpdf(m,x,::typeof(codegen)) to codegen.jl * Fixing stuff I just broke * working on markovblanket * working on Markov Blanket * markov blanket * add bodyVariables * export bodyVariables * make `toposort` us `arguments` instead of `freeVariables` * up * ixnay on the ype piracytay * Type infer for module param (#66) * apply changes * fix #65: might need more changes * Update dependencies + README * update README * update README
1 parent 51d7deb commit 67ef9e0

File tree

19 files changed

+341
-414
lines changed

19 files changed

+341
-414
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ os:
33
- linux
44
- osx
55
julia:
6-
- 1.2
6+
- 1.3
77
- nightly
88
env:
99
global:

Project.toml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,37 @@ TransformVariables = "84d833dd-6860-57f9-a1a7-6da5db126cff"
4040
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
4141

4242
[compat]
43-
MonteCarloMeasurements = ">=0.3.5"
44-
julia = "^1.2"
43+
AdvancedHMC = "0.2"
44+
Bijectors = "0.4"
45+
DiffResults = "0.0.4"
46+
Distributions = "0.21"
47+
DynamicHMC = "2.1"
48+
FillArrays = "0.8"
49+
ForwardDiff = "0.10"
50+
GeneralizedGenerated = "0.2"
51+
Graphs = "0.10"
52+
IRTools = "0.3"
53+
IterTools = "1.3"
54+
LazyArrays = "0.14"
55+
LogDensityProblems = "0.9"
56+
MLStyle = "0.3"
57+
MacroTools = "0.5"
58+
MonteCarloMeasurements = "0.5"
59+
NamedTupleTools = "0.12"
60+
Plots = "0.28"
61+
PyCall = "1.91"
62+
Reexport = "0.2"
63+
ResumableFunctions = "0.5"
64+
ReverseDiff = "0.3"
65+
SimpleGraphs = "0.3"
66+
SimplePartitions = "0.2"
67+
SimplePosets = "0.0"
68+
StatsFuns = "0.9"
69+
Stheno = "0.3"
70+
SymPy = "1.0"
71+
TransformVariables = "0.3"
72+
Zygote = "0.4"
73+
julia = "^1.3"
4574

4675
[extras]
4776
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Often these are easier to work with in terms of `particles` (built using [MonteC
9898
julia> post = dynamicHMC(m(X=truth.X), (y=truth.y,));
9999

100100
julia> particles(post)
101-
= Particles{Float64,1000}[0.558 ± 0.25, 0.768 ± 0.49],)
101+
= Particles{Float64,1000}[0.548 ± 0.24, 0.751 ± 0.5],)
102102

103103
````
104104
@@ -204,11 +204,11 @@ julia> using BenchmarkTools
204204

205205
julia>
206206
@btime logpdf($m2(X=X), $truth)
207-
802.533 ns (16 allocations: 464 bytes)
207+
1.989 μs (47 allocations: 1.05 KiB)
208208
-15.84854642585797
209209

210210
julia> @btime logpdf($m2(X=X), $truth, $codegen)
211-
324.463 ns (5 allocations: 208 bytes)
211+
313.860 ns (5 allocations: 208 bytes)
212212
-15.848546425857968
213213

214214
````

examples/2019-11-07-demo.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weave("examples/2019-11-07-demo.jmd"
1313

1414

1515
```julia
16-
using Revise, Soss, Plots, NamedTupleTools
16+
using Soss, Plots, NamedTupleTools
1717
seed = WEAVE_ARGS[:seed]
1818
import Random; Random.seed!(seed)
1919
```

0 commit comments

Comments
 (0)