ml::TrainData responses difference between type CV_32F and CV_32S

asked 2016-04-04 05:40:51 -0600

NathanSn gravatar image

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.

edit retag flag offensive close merge delete

Comments

http://ninghang.blogspot.in/2012/11/l..., this link may be helpful understanding the types

ajonnet gravatar imageajonnet ( 2017-06-21 00:45:04 -0600 )edit