Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ml::TrainData responses difference between type CV_32F and CV_32S

In the documentation to OpenCV 3.1.0 I've found

If the responses are scalar, they should be stored as a single row or as a single column. The matrix should have type CV_32F or CV_32S (in the former case the responses are considered as ordered by default; in the latter case - as categorical)

Can anyone explain, please, what is the actual difference between storing responses in CV_32F and CV_32S? Meaning of this

(in the former case the responses are considered as ordered by default; in the latter case - as categorical)

sentence from the documentation.