Skip to content

Commit 3609d3e

Browse files
authored
Minor docstring changes.
1 parent 7d0f535 commit 3609d3e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/inference/hmc.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,9 @@ Hamilton's equations are numerically integrated using leapfrog integration with
6464
step size `eps` for `L` steps and initial momenta sampled from a Gaussian distribution with
6565
covariance given by `metric` (mass matrix).
6666
67-
## `metric` options
68-
6967
Sampling with HMC is improved by using a metric/mass matrix that approximates the
7068
**inverse** covariance of the target distribution, and is equivalent to a linear transformation
71-
of the parameter space (see Neal, 2011).
72-
73-
The following options are supported for `metric`:
69+
of the parameter space (see Neal, 2011). The following options are supported for `metric`:
7470
7571
- `nothing` (default): identity matrix
7672
- `Vector`: diagonal matrix with the given vector as the diagonal

0 commit comments

Comments
 (0)