Skip to content

Commit 0093982

Browse files
authored
Merge pull request #554 from probcomp/20250616-ztangent-update-docs
Add tutorial on enumerative inference
2 parents 91d798f + 12e35ab commit 0093982

File tree

11 files changed

+2200
-10
lines changed

11 files changed

+2200
-10
lines changed

.github/workflows/ContinuousIntegration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
julia-version: ['1', '1.6', 'nightly']
28+
julia-version: ['1', '1.10', '1.6', 'nightly']
2929
julia-arch: [x64]
3030
os: [ubuntu-latest]
3131
steps:

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v2
2020
- uses: julia-actions/setup-julia@v1
2121
with:
22-
version: '1.6'
22+
version: '1.10'
2323
- name: Install dependencies
2424
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2525
- name: Build and deploy documentation

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
Gen = "ea4f424c-a589-11e8-07c0-fd5c91b9da4a"
44
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
5+
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
56

67
[compat]
78
Documenter = "1"

docs/pages.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ pages = [
33
"Tutorials" => [
44
"Getting Started" => "tutorials/getting_started.md",
55
"Introduction to Modeling in Gen" => "tutorials/modeling_in_gen.md",
6+
"Basics of MCMC and MAP Inference" => "tutorials/mcmc_map.md",
7+
"Debugging Models with Enumeration" => "tutorials/enumerative.md",
68
"Object Tracking with SMC" => "tutorials/smc.md",
79
"Variational Inference in Gen" => "tutorials/vi.md",
810
"Learning Generative Functions" => "tutorials/learning_gen_fns.md",
177 KB
Loading

docs/src/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ Learn how to use Gen by following these tutorials:
4646
Pages = [
4747
"tutorials/getting_started.md",
4848
"tutorials/modeling_in_gen.md",
49+
"tutorials/mcmc_map.md",
50+
"tutorials/enumerative.md",
4951
"tutorials/smc.md",
52+
"tutorials/vi.md",
5053
"tutorials/scaling_with_sml.md",
5154
"tutorials/learning_gen_fns.md"
5255
]

docs/src/tutorials/enumerative.md

Lines changed: 892 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)