Skip to content

Commit fa759d3

Browse files
committed
tweak docs
1 parent 1b1bad2 commit fa759d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modeling_library/mixture.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ mixture_of_mvnormals = HomogeneousMixture(mvnormal, [1, 2])
4444
# mixture of two multivariate normal distributions
4545
# with means: [0.0, 0.0] and [1.0, 1.0]
4646
# and covariance matrices: [1.0 0.0; 0.0 1.0] and [10.0 0.0; 0.0 10.0]
47-
# the first multivariate normal distribution has weight 0.4; the second has weight 0.6
47+
# the first multivariate normal distribution has weight 0.4;
48+
# the second has weight 0.6
4849
means = [0.0 1.0; 0.0 1.0] # or, cat([0.0, 0.0], [1.0, 1.0], dims=2)
4950
covs = cat([1.0 0.0; 0.0 1.0], [10.0 0.0; 0.0 10.0], dims=3)
5051
y ~ mixture_of_mvnormals([0.4, 0.6], means, covs)

0 commit comments

Comments
 (0)