[mlpack-git] [mlpack/mlpack] GammaDistribution: Adds functionality to solve #749 (#751)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git