Asigan
Asigan

Reputation: 125

What is the box constraint in the output of a support vector machine in matlab?

In matlab, the function fitcsvm trains a support vector machine. In output, there is a component BoxConstraints. I have read the post this post and understood the meaning of box constraint.

But in the answer of the post, the box constraint C is a scalar, while in the output of Matlab it is a vector with same length of number of samples, and it is all 1, where I have used default box constraint 1 in the input.

I do not understand what is the output.

(I have read the sections of SVM on the Element of Statistical Learning, and did not find this term. So I think perhaps it is different choice of term. If you would like to answer, you could skip explaining basic concepts of SVM.)

Upvotes: 0

Views: 17

Answers (0)

Related Questions