
AcceptReject - Acceptance-Rejection Method for Generating Pseudo-Random Observations
Provides a function that implements the acceptance-rejection method in an optimized manner to generate pseudo-random observations for discrete or continuous random variables. Proposed by von Neumann J. (1951), <https://mcnp.lanl.gov/pdf_files/>, the function is optimized to work in parallel on Unix-based operating systems and performs well on Windows systems. The acceptance-rejection method implemented optimizes the probability of generating observations from the desired random variable, by simply providing the probability function or probability density function, in the discrete and continuous cases, respectively. Implementation is based on references CASELLA, George at al. (2004) <https://www.jstor.org/stable/4356322>, NEAL, Radford M. (2003) <https://www.jstor.org/stable/3448413> and Bishop, Christopher M. (2006, ISBN: 978-0387310732).
Last updated
monte-carlomonte-carlo-simulationrejection-samplingstatistics-librarycpp
4.64 score 2 stars 11 scripts 731 downloads
probcal - Calibration of Binary and Multiclass Probabilities
Provides S3 calibrators, metrics, and diagnostics for binary and multiclass probability calibration in R. Binary methods include Platt scaling, temperature scaling, beta calibration, histogram binning, and isotonic regression. Multiclass methods include temperature scaling, vector scaling, Dirichlet calibration, and a one-vs-rest wrapper for the binary calibrators. Methods follow Platt (1999), Zadrozny and Elkan (2002) <doi:10.1145/775047.775151>, Guo et al. (2017), Kull et al. (2017) <doi:10.1214/17-EJS1338SI>, and Kull et al. (2019).
Last updated
machine-learningrlanstatistical-learningstatistics
3.51 score 13 scripts

