/**
  * Return the probability of the given observation.
  */
 double Probability(const arma::vec& observation) const
 {
   return exp(LogProbability(observation));
 }
Example #2
0
 /**
  * Return the probabilities of the given matrix of observations.
  *
  * @param observation The observation matrix.
  */
 double Probability(const DataType&& observation) const
 {
   return std::exp(LogProbability(observation));
 }