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

Tiramisu 1993 notifications at github.com
Tue Dec 20 21:47:00 EST 2016


Hi @rcurtin, thank you for your help. :) 

But the `Probability() ` do accept a one dimensional vector[1], but we only use the first value of that vector. So the idea in here is about to make `DiscreteDistribution::Probability()` can do something like:

d.Probability("0") -> P(0)

d.Probability("0, 1") -> P(0)P(1)

Is that correct?
[1] https://github.com/mlpack/mlpack/blob/master/src/mlpack/core/dists/discrete_distribution.hpp#L95

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


More information about the mlpack mailing list