1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Minor doc fix

This commit is contained in:
Ilya Lysenkov
2011-06-23 15:40:20 +00:00
parent 023f48dcf3
commit 04d484c6ce
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -223,7 +223,7 @@ CvRTrees::calc_error
The method is identical to :ocv:func:`CvDTree::calc_error` but uses the random forest as predictor.
.. index:: CvRTrees::get_train_error()
.. index:: CvRTrees::get_train_error
.. _CvRTrees::get_train_error:
@@ -236,7 +236,7 @@ CvRTrees::get_train_error
The method works for classification problems only. It returns the proportion of incorrectly classified train samples.
.. index:: CvRTrees::get_rng()
.. index:: CvRTrees::get_rng
.. _CvRTrees::get_rng:
+2 -2
View File
@@ -142,7 +142,7 @@ The method ``write`` stores the complete model state in the file storage with th
CvStatModel::read
-----------------
.. ocv:function:: void CvStatMode::read( CvFileStorage* storage, CvFileNode* node )
.. ocv:function:: void CvStatModel::read( CvFileStorage* storage, CvFileNode* node )
Reads the model from the file storage.
@@ -157,7 +157,7 @@ The previous model state is cleared by ``clear()`` .
CvStatModel::train
------------------
.. ocv:function:: bool CvStatMode::train( const Mat& train_data, [int tflag,] ..., const Mat& responses, ..., [const Mat& var_idx,] ..., [const Mat& sample_idx,] ... [const Mat& var_type,] ..., [const Mat& missing_mask,] <misc_training_alg_params> ... )
.. ocv:function:: bool CvStatModel::train( const Mat& train_data, [int tflag,] ..., const Mat& responses, ..., [const Mat& var_idx,] ..., [const Mat& sample_idx,] ... [const Mat& var_type,] ..., [const Mat& missing_mask,] <misc_training_alg_params> ... )
Trains the model.