spsklearn.utils.sampling

Attributes

seed

D

Functions

draw_von_mises_fisher(mu, kappa, n_samples[, seed])

draw_von_mises_fisher_mixture(mus, kappas, n_samples, ...)

_summary_

Module Contents

spsklearn.utils.sampling.seed = 1[source]
spsklearn.utils.sampling.draw_von_mises_fisher(mu, kappa, n_samples, seed=0)[source]
spsklearn.utils.sampling.draw_von_mises_fisher_mixture(mus, kappas, n_samples, weights, seed=0)[source]

_summary_

Parameters:
  • mus – shape=(n_components, n_features)

  • kappas – shape=(n_components,)

  • n_samples (int)

  • weights – shape=(n_components,)

spsklearn.utils.sampling.D = 2[source]