mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
ml: apply CV_OVERRIDE/CV_FINAL
This commit is contained in:
@@ -318,7 +318,7 @@ public:
|
||||
/** @brief Returns the number of variables in training samples */
|
||||
CV_WRAP virtual int getVarCount() const = 0;
|
||||
|
||||
CV_WRAP virtual bool empty() const;
|
||||
CV_WRAP virtual bool empty() const CV_OVERRIDE;
|
||||
|
||||
/** @brief Returns true if the model is trained */
|
||||
CV_WRAP virtual bool isTrained() const = 0;
|
||||
@@ -894,7 +894,7 @@ public:
|
||||
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;
|
||||
CV_WRAP virtual float predict( InputArray samples, OutputArray results=noArray(), int flags=0 ) const CV_OVERRIDE = 0;
|
||||
|
||||
/** @brief Returns a likelihood logarithm value and an index of the most probable mixture component
|
||||
for the given sample.
|
||||
@@ -1656,7 +1656,7 @@ public:
|
||||
@param results Predicted labels as a column matrix of type CV_32S.
|
||||
@param flags Not used.
|
||||
*/
|
||||
CV_WRAP virtual float predict( InputArray samples, OutputArray results=noArray(), int flags=0 ) const = 0;
|
||||
CV_WRAP virtual float predict( InputArray samples, OutputArray results=noArray(), int flags=0 ) const CV_OVERRIDE = 0;
|
||||
|
||||
/** @brief This function returns the trained parameters arranged across rows.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user