theogf / AugmentedGaussianProcesses.jl

Gaussian Process package based on data augmentation, sparsity and natural gradients
https://theogf.github.io/AugmentedGaussianProcesses.jl/dev/
Other
134 stars 9 forks source link

Relax r parameter to Real for Negative Binomial #68

Closed theogf closed 3 years ago

theogf commented 3 years ago

Should fix #64. It changes r to Real in NegativeBinomial, the only required change was to give an option for Real numbers via the Gamma function for the expected log-likelihood. Also added a small example using the Poisson and the negative binomial likelihood

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 675


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/likelihood/negativebinomial.jl 5 8 62.5%
<!-- Total: 5 8 62.5% -->
Totals Coverage Status
Change from base Build 669: -0.03%
Covered Lines: 1417
Relevant Lines: 2521

💛 - Coveralls