Class Mixture.Component

java.lang.Object
smile.stat.distribution.Mixture.Component
All Implemented Interfaces:
Serializable
Enclosing class:
Mixture

public static class Mixture.Component extends Object implements Serializable
A component in the mixture distribution is defined by a distribution and its weight in the mixture.
See Also:
  • Field Details

    • priori

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

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

    • Component

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