Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core-functionality/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,9 @@ chn = sample(model, Prior(), 10)
loglikelihood(model, chn)
```

### Maximum likelihood and maximum a posterior estimates
### Maximum likelihood and maximum a posteriori estimates

Turing also has functions for estimating the maximum aposteriori and maximum likelihood parameters of a model. This can be done with
Turing also has functions for estimating the maximum a posteriori and maximum likelihood parameters of a model. This can be done with

```{julia}
mle_estimate = maximum_likelihood(model)
Expand Down Expand Up @@ -524,7 +524,7 @@ The `Gibbs` sampler can be used to specify unique automatic differentiation back

For more details of compositional sampling in Turing.jl, please check the corresponding [paper](https://proceedings.mlr.press/v84/ge18b.html).

### Working with filldist and arraydist
### Working with `filldist` and `arraydist`

Turing provides `filldist(dist::Distribution, n::Int)` and `arraydist(dists::AbstractVector{<:Distribution})` as a simplified interface to construct product distributions, e.g., to model a set of variables that share the same structure but vary by group.

Expand Down