Skip to content

Commit

Permalink
Commit images in assets folder, fix URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ztangent committed Oct 6, 2024
1 parent 24e1db8 commit 3857cb7
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
Binary file added docs/src/assets/map_combinator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/recurse_combinator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/rjmcmc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/scaling_with_sml_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/static_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/switch_combinator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/unfold_combinator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/src/ref/inference/mcmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ end
```
We can then compare the results to the results from the Markov chain that used the selection-based structure-changing kernel:

![rjmcmc plot](../../assets/rjmcmc.png)
![rjmcmc plot](../../../assets/rjmcmc.png)

We see that if we initialize the Markov chains from the same state with a single mean (`:z` is `false`) then the selection-based kernel fails to accept any moves to the two-mean structure within 100 iterations, whereas the split-merge kernel transitions back and forth many times,
If we repeated the selection-based kernel for enough iterations, it would eventually transition back and forth at the same rate as the split-merge.
Expand Down
8 changes: 4 additions & 4 deletions docs/src/ref/modeling/combinators.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Map
In the schematic below, the kernel is denoted ``\mathcal{G}_{\mathrm{k}}``.
```@raw html
<div style="text-align:center">
<img src="../../assets/map_combinator.png" alt="schematic of map combinator" width="50%"/>
<img src="../../../assets/map_combinator.png" alt="schematic of map combinator" width="50%"/>
</div>
```

Expand Down Expand Up @@ -61,7 +61,7 @@ In the schematic below, the kernel is denoted ``\mathcal{G}_{\mathrm{k}}``.
The initial state is denoted ``y_0``, the number of applications is ``n``, and the remaining arguments to the kernel not including the state, are ``z``.
```@raw html
<div style="text-align:center">
<img src="../../assets/unfold_combinator.png" alt="schematic of unfold combinator" width="70%"/>
<img src="../../../assets/unfold_combinator.png" alt="schematic of unfold combinator" width="70%"/>
</div>
```

Expand Down Expand Up @@ -118,7 +118,7 @@ Recurse

```@raw html
<div style="text-align:center">
<img src="../../assets/recurse_combinator.png" alt="schematic of recurse combinatokr" width="70%"/>
<img src="../../../assets/recurse_combinator.png" alt="schematic of recurse combinatokr" width="70%"/>
</div>
```
## Switch combinator
Expand All @@ -129,7 +129,7 @@ Switch

```@raw html
<div style="text-align:center">
<img src="../../assets/switch_combinator.png" alt="schematic of switch combinator" width="100%"/>
<img src="../../../assets/switch_combinator.png" alt="schematic of switch combinator" width="100%"/>
</div>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/scaling_with_sml.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Below, we show the static dependency graph that Gen builds for this function. Ar

```@raw html
<div style="text-align:center">
<img src="../../../assets/scaling_with_sml_graph.png" alt="static dependency graph" width="100%"/>
<img src="../../assets/scaling_with_sml_graph.png" alt="static dependency graph" width="100%"/>
</div>
```

Expand Down

0 comments on commit 3857cb7

Please sign in to comment.