Ask Your Question

Revision history [back]

The sign in CvSVM::predict

Hi all,,

I'm using a binary SVM to classify positive and negative sets of images encoded using HOG descriptors to the machine; I labeled my positive set '1' and '0' for the negative one during training. /expereienced

Based on the OpenCV manual, using float response = predict(inputMat, true); returns the signed decision function value. Does the negative sign denotes a Positive label '1'? I made few experiments* to reach this conclusion and I just want a confirmation from anyone knowledgeable/experienced with SVMs.

*The experiments was applied on 2 positives and 2 negatives using float response = predict(inputMat, true); once and then using float response = predict(inputMat); //Default false, returns label. I hope my conclusion applies to any image. Thank you :)

The sign in CvSVM::predict

Hi all,,

I'm using a binary SVM to classify positive and negative sets of images encoded using HOG descriptors to the machine; I labeled my positive set '1' and '0' for the negative one during training. /expereienced

Based on the OpenCV manual, using float response = predict(inputMat, true); returns the signed decision function value. Does the negative sign denotes a Positive label '1'? I made few experiments* to reach this conclusion and I just want a confirmation from anyone knowledgeable/experienced with SVMs.

*The experiments was applied on 2 positives and 2 negatives using float response = predict(inputMat, true); once and then using float response = predict(inputMat); //Default false, returns label. I hope my conclusion applies to any image. Thank you :)

click to hide/show revision 3
retagged

updated 2014-04-26 00:49:25 -0600

berak gravatar image

The sign in CvSVM::predict

Hi all,,

I'm using a binary SVM to classify positive and negative sets of images encoded using HOG descriptors to the machine; I labeled my positive set '1' and '0' for the negative one during training.

Based on the OpenCV manual, using float response = predict(inputMat, true); returns the signed decision function value. Does the negative sign denotes a Positive label '1'? I made few experiments* to reach this conclusion and I just want a confirmation from anyone knowledgeable/experienced with SVMs.

*The experiments was applied on 2 positives and 2 negatives using float response = predict(inputMat, true); once and then using float response = predict(inputMat); //Default false, returns label. I hope my conclusion applies to any image. Thank you :)

click to hide/show revision 4
retagged

updated 2014-04-26 00:49:47 -0600

berak gravatar image

The sign in CvSVM::predict

Hi all,,

I'm using a binary SVM to classify positive and negative sets of images encoded using HOG descriptors to the machine; I labeled my positive set '1' and '0' for the negative one during training.

Based on the OpenCV manual, using float response = predict(inputMat, true); returns the signed decision function value. Does the negative sign denotes a Positive label '1'? I made few experiments* to reach this conclusion and I just want a confirmation from anyone knowledgeable/experienced with SVMs.

*The experiments was applied on 2 positives and 2 negatives using float response = predict(inputMat, true); once and then using float response = predict(inputMat); //Default false, returns label. I hope my conclusion applies to any image. Thank you :)

The sign in CvSVM::predict

Hi all,,

I'm using a binary SVM to classify positive and negative sets of images encoded using HOG descriptors to the machine; I labeled my positive set '1' and '0' for the negative one during training.

Based on the OpenCV manual, using float response = predict(inputMat, true); returns the signed decision function value. Does the negative sign denotes a Positive label '1'? I made few experiments* to reach this conclusion and I just want a confirmation from anyone knowledgeable/experienced with SVMs.

*The experiments was applied on 2 positives and 2 negatives using float response = predict(inputMat, true); once and then using float response = predict(inputMat); //Default false, returns label. I hope my conclusion applies to any image. Thank you :)