Ask Your Question
0

Machine Learning Labels

asked 2014-10-25 21:14:41 -0500

xiaox gravatar image

Hi, there. I want to ask whether should I label my classes as +1, -1 for SVM/AdaBoost or it is not so important if I label my classes as 0, +1 or some other labels that can distinguish each class.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-31 09:19:20 -0500

ej gravatar image

Not important.

From the User guide of CvStatModel:

Responses are usually stored in a 1D vector (a row or a column) of CV_32SC1 (only in the classification problem) or CV_32FC1 format, one value per input vector. Although, some algorithms, like various flavors of neural nets, take vector responses.

For classification problems, the responses are discrete class labels.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-10-25 21:14:41 -0500

Seen: 113 times

Last updated: Oct 31 '14