Skip to content

Commit

Permalink
Update estimation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Jun 23, 2020
1 parent 4f0dc89 commit f8e4c06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/statiskit/core/estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ def mixture_estimation(data, algo='em', **kwargs):
elif outcome == outcome_type.DISCRETE:
if kwargs.pop('singular', False):
mapping = dict(em = MixtureSingularDistributionEMEstimation.Estimator)
else:
mapping = dict(em = DiscreteMultivariateMixtureDistributionEMEstimation.Estimator)
elif outcome == outcome_type.CONTINUOUS:
mapping = dict(em = ContinuousMultivariateMixtureDistributionEMEstimation.Estimator)
else:
Expand Down

0 comments on commit f8e4c06

Please sign in to comment.