fixed many errors in warnings in rst docs; added ocl module description (by Niko Li)

This commit is contained in:
Vadim Pisarevsky
2012-10-30 17:58:44 +04:00
parent 78fd99abdb
commit 849a8c8d20
22 changed files with 2409 additions and 99 deletions
+1 -1
View File
@@ -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``.