Skip to content

PaulVirally/Von-Mises-Distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Von Mises Distribution

This is a demonstration of the work done by D.J. Best and N.I. Fisher (found here)

This is a finite domain analogue to the Gaussian distribution. The von Mises distribution lies in the interval [-π, π], so to normalize it, you would have to take your output n and do the the following to it: n_norm = (n + π)/2π.

You can use this distribution to generate a random number over an interval, with a bias towards the center of that interval. This is quite handy sometimes and more practical than using a Gaussian distribution that could generate any real number.

A random sampling of the distribution can be found by running python3 main.py

About

Efficient Simulation of the von Mises Distribution

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages