probly.representation.distribution.mixture_gaussian¶
Mixture distribution for Gaussian components.
Classes
|
Gaussian mixture. |
- class probly.representation.distribution.mixture_gaussian.ArrayGaussianMixture(components, weights)[source]¶
Bases:
objectGaussian mixture.
- Parameters:
components (Sequence[ArrayGaussian])
weights (np.ndarray)
- sample(num_samples, rng=None)[source]¶
Draw samples from the Gaussian mixture. Returns an ArraySample.
- Parameters:
- Return type:
- components: Sequence[ArrayGaussian]¶
- property dtype: DTypeLike¶
The data type of the underlying array.
- weights: np.ndarray¶