ott.tools.gaussian_mixture.gaussian_mixture.GaussianMixture.from_random# classmethod GaussianMixture.from_random(rng, n_components, n_dimensions, stdev_mean=0.1, stdev_cov=0.1, stdev_weights=0.1, ridge=0)[source]# Construct a random GMM. Parameters: rng (Array) n_components (int) n_dimensions (int) stdev_mean (float) stdev_cov (float) stdev_weights (float) ridge (Union[float, array]) Return type: GaussianMixture