Skip to content

Commit

Permalink
Update MixtureFactory_doc.i.in
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudin47 committed Jun 16, 2024
1 parent 8ef07b2 commit de40b36
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions python/src/MixtureFactory_doc.i.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ Estimate the parameters of the mixture of 2 Gaussians.

>>> factory = otmixmod.MixtureFactory(2, 'Gaussian_pk_L_Dk_A_Dk')
>>> sample = [
>>> [1.5, 0.7],
>>> [0.2, -0.6],
>>> [2.1, 0.1],
>>> [1.2, 2.4],
>>> [2.2, 0.0],
>>> [-0.9, -2.1],
>>> [-1.7, -0.3],
>>> [0.7, 0.4],
>>> [-1.2, 1.1],
>>> [-0.5, -1.1],
>>> ]
... [1.5, 0.7],
... [0.2, -0.6],
... [2.1, 0.1],
... [1.2, 2.4],
... [2.2, 0.0],
... [-0.9, -2.1],
... [-1.7, -0.3],
... [0.7, 0.4],
... [-1.2, 1.1],
... [-0.5, -1.1],
... ]
>>> estimatedDistribution, labels, logLikelihood = factory.build(sample)
"

Expand Down

0 comments on commit de40b36

Please sign in to comment.