Help in using svmclassify

조회 수: 2 (최근 30일)
yi xiang low
yi xiang low 2013년 9월 22일
Hi,
the output of svm depends on the sign of (w*x+b),
how do i get the output of the exact value of w*x+b before it outputs the sign and then identify the classes?

채택된 답변

Ilya
Ilya 2013년 9월 22일

추가 답변 (1개)

yi xiang low
yi xiang low 2013년 9월 23일
Thank you for your fast response,
Xnew = bsxfun(@plus,Xnew,shift); Xnew = bsxfun(@times,Xnew,scale);
for this two, what does bsxfun, @plus, @times exactly do?
i suppose this is to scale the data by subtracting the mean and scaling by the standard deviation.
what exactly is the code running behind bsxfun, @plus, @times? (i notice there are some other @, such as @plus, @rdivide - i suppose this is to unscale the data? )
  댓글 수: 2
Ilya
Ilya 2013년 9월 23일
Please do not ask new questions by posting answers to your questions. Use comments for that.
Please learn to use the MATLAB documentation. You could type 'doc bsxfun' on your MATLAB command line or look here.
yi xiang low
yi xiang low 2013년 9월 23일
Sorry, this is my first time posting - will take notice next time.
I accidentally typed help bxsfun instead of help bsxfun. Thank you

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by