Package smile.stat.distribution
Class DiscreteMixture.Component
java.lang.Object
smile.stat.distribution.DiscreteMixture.Component
- Enclosing class:
DiscreteMixture
A component in the mixture distribution is defined by a distribution
and its weight in the mixture.
-
Field Summary
Modifier and TypeFieldDescriptionfinal DiscreteDistribution
The distribution of component.final double
The priori probability of component. -
Constructor Summary
-
Method Summary
-
Field Details
-
priori
public final double prioriThe priori probability of component. -
distribution
The distribution of component.
-
-
Constructor Details
-
Component
Constructor.- Parameters:
priori
- the priori probability of component.distribution
- the distribution of component.
-