Merge release 2.4.3
This commit is contained in:
@@ -156,7 +156,7 @@ CvStatModel::predict
|
||||
--------------------
|
||||
Predicts the response for a sample.
|
||||
|
||||
.. ocv:function:: float CvStatModel::predict( const Mat& sample[, <prediction_params>] ) const
|
||||
.. ocv:function:: float CvStatModel::predict( const Mat& sample, <prediction_params> ) const
|
||||
|
||||
The method is used to predict the response for a new sample. In case of a classification, the method returns the class label. In case of a regression, the method returns the output function value. The input sample must have as many components as the ``train_data`` passed to ``train`` contains. If the ``var_idx`` parameter is passed to ``train``, it is remembered and then is used to extract only the necessary components from the input sample in the method ``predict``.
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
|
||||
# ifdef __clang__
|
||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||
# pragma GCC diagnostic ignored "-Wextra"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
||||
|
||||
Reference in New Issue
Block a user