[mlpack-git] [mlpack/mlpack] GammaDistribution: Adds functionality to solve #749 (#751)
Ryan Curtin
notifications at github.com
Fri Aug 5 23:36:31 EDT 2016
> @@ -78,6 +86,19 @@ class GammaDistribution
> */
> void Train(const arma::mat& rdata, const double tol = 1e-8);
>
> + /** Fits an alpha and beta parameter according to observation probabilities.
> + *
> + * @param observations The reference data, one observation per column
> + * @param probabilities The probability of each observation. One value per
> + * column of the observations matrix.
> + * @param tol Convergence tolerance. This is *not* an absolute measure:
> + * It will stop the approximation once the *change* in the value is
> + * smaller than tol.
> + */
> + void Train(const arma::mat& observations,
> + const arma::vec& probabilities,
> + const double tol = 1e-8);
Indentation seems odd here.
---
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/751/files/9cb117f671f55186baddf38ce71107a2a3ae027f#r73780154
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160805/3e984278/attachment.html>
More information about the mlpack-git
mailing list