projection method in order to transform two dimensional data into one dimensional data

1 view (last 30 days)
Dear all, I m having a 2D feature space between two similar and dissimilar image. i want to construct a decision boundary to classify this feature or also want to apply projection method that can tranform the data into one dimensional feature space. can anybody suggest me any solution or method in matlab regarding this. I have done alot of research regarding this but, yet not get any solution. please help me if anyone have any idea of this. thank alot .

Accepted Answer

Walter Roberson
Walter Roberson on 9 Nov 2011
One way would be to calculate the "support vector", and having calculated it, rotate the data so that the support vector was perpendicular to the x axis; having done that, anything that has an x lower than the place the support vector projects to would be one class, and anything higher would be the other class.

More Answers (1)

Promila
Promila on 10 Nov 2011
thanks alot for reply.
is there any way to calculate the support-vector in matlab?
  1 Comment
Walter Roberson
Walter Roberson on 10 Nov 2011
See http://www.mathworks.com/help/toolbox/bioinfo/ref/svmtrain.html if you have that toolbox, and if not search Answers for "libsvm"

Sign in to comment.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!