File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
modules/ml/include/opencv2 Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -829,6 +829,15 @@ class CV_EXPORTS_W EM : public StatModel
829
829
*/
830
830
CV_WRAP virtual void getCovs (CV_OUT std::vector<Mat>& covs) const = 0;
831
831
832
+ /* * @brief Returns posterior probabilities for the provided samples
833
+
834
+ @param samples The input samples, floating-point matrix
835
+ @param results The optional output \f$ nSamples \times nClusters\f$ matrix of results. It contains
836
+ posterior probabilities for each sample from the input
837
+ @param flags This parameter will be ignored
838
+ */
839
+ CV_WRAP virtual float predict ( InputArray samples, OutputArray results=noArray(), int flags=0 ) const = 0;
840
+
832
841
/* * @brief Returns a likelihood logarithm value and an index of the most probable mixture component
833
842
for the given sample.
834
843
You can’t perform that action at this time.
0 commit comments