Fast Python sampler for the von Mises Fisher distribution - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2023

Fast Python sampler for 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.
Fichier principal
Vignette du fichier
main.pdf (754.87 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04004568 , version 1 (24-02-2023)
hal-04004568 , version 2 (03-03-2023)
hal-04004568 , version 3 (03-08-2023)

Licence

Domaine public

Identifiants

  • HAL Id : hal-04004568 , version 2

Citer

Carlos Pinzón, Kangsoo Jung. Fast Python sampler for the von Mises Fisher distribution. 2023. ⟨hal-04004568v2⟩
275 Consultations
281 Téléchargements

Partager

Gmail Facebook X LinkedIn More