[mlpack-git] [mlpack/mlpack] Adds a GammaDistribution object for estimating gamma parameters (#729)

Yannis Mentekidis notifications at github.com
Wed Jul 20 10:43:21 EDT 2016


> @@ -0,0 +1,76 @@
> +/**
> + * @file gamma_distribution.cpp
> + * @author Yannis Mentekidis
> + *
> + * Implementation of the methods of GammaDistribution.
> + */
> +#include "gamma_distribution.hpp"
> +
> +#include <boost/math/special_functions/digamma.hpp>
> +#include <boost/math/special_functions/trigamma.hpp>

I replaced trigamma(.) with polygamma(2, .) to see if that works. According to [this](http://mathworld.wolfram.com/PolygammaFunction.html), I could avoid including it completely and compute it using digamma. I'm trying that while travis attempts to build the new version.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/729/files/5293b5037a19735d70937bef7bc97838ca542bbc#r71538410
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160720/c7402e87/attachment.html>


More information about the mlpack-git mailing list