[mlpack] [mlpack/mlpack] Implement multidimensional discrete distribution (#830)

Ryan Curtin notifications at github.com
Tue Dec 20 15:50:23 EST 2016


Hi there @MikeLing, thanks for the contribution.  Unfortunately I'm not totally sure what this overload does since there are no comments.

Ideally, for multidimensional discrete distribution support, the API shouldn't change, it should just be a generalization.  Note that now, when you call `DiscreteDistribution::Probability()`, the parameter `const arma::vec& observation` must be a one-dimensional vector.  The idea is to generalize this, so that a discrete distribution can have many dimensions.

The distribution should have zero correlation across dimensions, so if I have the vector "a,b" then P(a,b) = P(a)P(b).

-- 
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/830#issuecomment-268355909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20161220/bae3f55f/attachment.html>


More information about the mlpack mailing list