.. image:: pics/pointpolygon.png
-.. [Fitzgibbon95] Andrew W. Fitzgibbon, R.B.Fisher. *A Buyer\92s Guide to Conic Fitting*. Proc.5th British Machine Vision Conference, Birmingham, pp. 513-522, 1995.
+.. [Fitzgibbon95] Andrew W. Fitzgibbon, R.B.Fisher. *A Buyer's Guide to Conic Fitting*. Proc.5th British Machine Vision Conference, Birmingham, pp. 513-522, 1995.
.. [Hu62] M. Hu. *Visual Pattern Recognition by Moment Invariants*, IRE Transactions on Information Theory, 8:2, pp. 179-187, 1962.
--------------------
Returns a pointer to the matrix of predictors and response values
-.. ocv:function:: const CvMat* CvMLData::get_values() const;
+.. ocv:function:: const CvMat* CvMLData::get_values() const
The method returns a pointer to the matrix of predictor and response ``values`` or ``0`` if the data has not been loaded from the file yet.
---------------------
Returns a pointer to the mask matrix of missing values
-.. ocv:function:: const CvMat* CvMLData::get_missing() const;
+.. ocv:function:: const CvMat* CvMLData::get_missing() const
The method returns a pointer to the mask matrix of missing values or throws an exception if the data has not been loaded from the file yet.
--------------------------
Returns index of the response column in the loaded data matrix
-.. ocv:function:: int CvMLData::get_response_idx() const;
+.. ocv:function:: int CvMLData::get_response_idx() const
The method returns the index of a response column in the ``values`` matrix (see :ocv:func:`CvMLData::get_values`) or throws an exception if the data has not been loaded from the file yet.
------------------------------
Returns the matrix of sample indices for a training subset
-.. ocv:function:: const CvMat* CvMLData::get_train_sample_idx() const;
+.. ocv:function:: const CvMat* CvMLData::get_train_sample_idx() const
The method returns the matrix of sample indices for a training subset. This is a single-row matrix of the type ``CV_32SC1``. If data split is not set, the method returns ``0``. If the data has not been loaded from the file yet, an exception is thrown.
-----------------------------
Returns the matrix of sample indices for a testing subset
-.. ocv:function:: const CvMat* CvMLData::get_test_sample_idx() const;
+.. ocv:function:: const CvMat* CvMLData::get_test_sample_idx() const
CvMLData::mix_train_and_test_idx
----------------------
Returns type of the specified variable
-.. ocv:function:: int CvMLData::get_var_type( int var_idx ) const;
+.. ocv:function:: int CvMLData::get_var_type( int var_idx ) const
The method returns the type of a variable by the index ``var_idx`` ( ``CV_VAR_ORDERED`` or ``CV_VAR_CATEGORICAL``).
-----------------------
Returns the currently used delimiter character.
-.. ocv:function:: char CvMLData::get_delimiter() const;
+.. ocv:function:: char CvMLData::get_delimiter() const
CvMLData::set_miss_ch
---------------------
Returns the currently used missing value character.
-.. ocv:function:: char CvMLData::get_miss_ch() const;
+.. ocv:function:: char CvMLData::get_miss_ch() const
CvMLData::get_class_labels_map
-------------------------------
Returns a map that converts strings to labels.
-.. ocv:function:: const std::map<std::string, int>& CvMLData::get_class_labels_map() const;
+.. ocv:function:: const std::map<std::string, int>& CvMLData::get_class_labels_map() const
The method returns a map that converts string class labels to the numerical class labels. It can be used to get an original class label as in a file.