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
_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack

Reply via email to