Class DiscreteMixture.Component

java.lang.Object
smile.stat.distribution.DiscreteMixture.Component
Enclosing class:
DiscreteMixture

public static class DiscreteMixture.Component extends Object
A component in the mixture distribution is defined by a distribution and its weight in the mixture.
  • Field Details

    • priori

      public final double priori
      The priori probability of component.
    • distribution

      public final DiscreteDistribution distribution
      The distribution of component.
  • Constructor Details

    • Component

      public Component(double priori, DiscreteDistribution distribution)
      Constructor.
      Parameters:
      priori - the priori probability of component.
      distribution - the distribution of component.