A Python package for Ratio-of-Uniforms sampling in multiple dimensions.
Ratio-of-Uniforms is a method of sampling random variables that uses the pdf, which does not need to be normalised, and requires minimal setup.
Install from the terminal with pip install RUSampling
.
Many thanks to Paul Northrop, the author of RUST, the package for Ratio-of-Uniforms sampling in R, and who helped me with the development of this project.
If you find bugs, or have any suggestions for features you would find helpful, please report on the github page or contact me at firstname . surname @ gmail.