machine learning
Sunday, December 29, 2013
svm - Matlab libsvm - how to find the w coefficients - Stack Overflow
svm - Matlab libsvm - how to find the w coefficients - Stack Overflow
: "bias = -model.rho;"
'via Blog thi
odel
=
svmtrain
(...);
w
=
(
model
.
sv_coef
' * full(model.SVs));
And the bias is (and I don't really remember why its negative):
bias
=
-
model
.
rho
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment