Skip to content

Commit e4d56e8

Browse files
committed
lp -> logjoint
1 parent 071d5a3 commit e4d56e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/bayesian-neural-networks/index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ nn_forward(x, θ) = nn(x, vector_to_parameters(θ, ps))
227227
fig = plot_data()
228228
229229
# Find the index that provided the highest log posterior in the chain.
230-
_, i = findmax(ch[:lp])
230+
_, i = findmax(ch[:logjoint])
231231
232232
# Extract the max row value from i.
233233
i = i.I[1]
@@ -286,4 +286,4 @@ anim = @gif for i in 1:n_end
286286
end every 5
287287
```
288288

289-
This has been an introduction to the applications of Turing and Lux in defining Bayesian neural networks.
289+
This has been an introduction to the applications of Turing and Lux in defining Bayesian neural networks.

0 commit comments

Comments
 (0)