ml::EM: add documentation for predict() method

pull/8103/head
Vladislav Sovrasov 8 years ago
parent 124c4825a7
commit a789c08588
  1. 9
      modules/ml/include/opencv2/ml.hpp

@ -829,6 +829,15 @@ public:
*/
CV_WRAP virtual void getCovs(CV_OUT std::vector<Mat>& covs) const = 0;
/** @brief Returns posterior probabilities for the provided samples
@param samples The input samples, floating-point matrix
@param results The optional output \f$ nSamples \times nClusters\f$ matrix of results. It contains
posterior probabilities for each sample from the input
@param flags This parameter will be ignored
*/
CV_WRAP virtual float predict( InputArray samples, OutputArray results=noArray(), int flags=0 ) const = 0;
/** @brief Returns a likelihood logarithm value and an index of the most probable mixture component
for the given sample.

Loading…
Cancel
Save