spsklearn.utils

The spsklearn.utils module includes various utilities.

Submodules

Functions

check_spherical_array(array[, spherical_axis])

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

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

_summary_

Package Contents

spsklearn.utils.check_spherical_array(array, spherical_axis=1)[source]
spsklearn.utils.draw_von_mises_fisher(mu, kappa, n_samples, seed=0)[source]
spsklearn.utils.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,)