-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the VonMisesFisher distribution over points on the unit hypersph…
…ere. The sampling algorithm is due to Wood'94. The pdf currently uses a recurrence for bessel_iN which isn't great for large N (WIP on better bessel_ive). Tests are based on importance sampling the surface area of a [hyper]spherical cap. Fixes tensorflow/tensorflow#6141 PiperOrigin-RevId: 205891121
- Loading branch information
Showing
4 changed files
with
787 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.