Skip to content

Commit 82dcc0f

Browse files
Update index.qmd
Co-authored-by: Penelope Yong <[email protected]>
1 parent 55d2242 commit 82dcc0f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.qmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,11 @@ using Turing
124124
μ = α .+ β .* x
125125
y ~ MvNormal(μ, σ² * I)
126126
127-
return (; y, α, β, σ², μ)
128127
end
129128
130129
x, y = rand(10), rand(10)
131-
posterior = linear_regression(x) | (;y = y)
132-
chains = sample(posterior, NUTS(), 1000, progress=false)
130+
posterior = linear_regression(x) | (; y = y)
131+
chain = sample(posterior, NUTS(), 1000)
133132
```
134133

135134
:::

0 commit comments

Comments
 (0)