Fast Python sampler of the von Mises Fisher distribution
Échantillonneur rapide de la distribution de von Mises Fisher en Python
Résumé
This paper implements a method for sampling from the d-dimensional Von Mises Fisher distribution using NumPy, focusing on speed and readability. The complexity of the algorithm is O(nd) for n samples, which is theoretically optimal taking into account that nd is the output size.
Origine | Fichiers produits par l'(les) auteur(s) |
---|