How can I use the Support Vector Machine (SVM) for making classification of trajectories of many objects

Dear Sir,
I want to make trajectories' classification of many objects by using SVM classifier. I am still new in using SVM classifier. I made check on the internet and I find simple example by using SVM classifier "http://www.mathworks.it/it/help/stats/support-vector-machines-svm.html" but I don't understand in the end if example how the SVM make classification. I would like to know "Can you please support me with some example (links) about SVM applications (clear applications) to guide me after that to make classifications to many different trajectories??
Thank you very much
Mohamed Elwakdy

Answers (1)

The link you provided has two full examples of classification using SVM. Did you try running those? Do you have specific questions after you ran the examples?
It is really as simple as:
% Step 1: Training
SVMStruct = svmtrain(Training,Group)
% Step 2: Classification
newGroup = svmclassify(SVMStruct,newSample)
newGroup has the classified information for the new data newSample.
Try out the examples in the documentation and then try different problems from datasets here:

4 Comments

Dear Shashank,
Thank you very much on your interest....
I visited the website above and I found only dataset. When I made download to some the zip files, I didn't find any Matlab code using Support Vector Machine for making classification to some data ( trajectories, Human behaviors and so on). You give me some general steps about the "Training" and "Classification". I would like to know "Do you know any another website that I can obtain through it on some examples about Support Vector Machine (SVM) applications??"
Thank you very much
Have Great and Fantastic Day
Mohamed Elwakdy
I was recommending you use the approach in the MATLAB documentation on the datasets from the link I provided. Along the way if you have trouble, someone in the community will be able to help you out. Unfortunately I am not aware of another website that keeps MATLAB SVM examples but a web search may reveal something.
Dear Shashank,
Thank you very much on your interest...
I would like to know "Do you know any SVM application that used any ship trajectories database??" From another side, I would like to know "Do you any website that I can from it on ship trajectories database over the time ??"
All the ship trajectories that I obtained on it by Google search whether are not over the time or the number of rows or columns (when I make preparation of data) are not equal between the training dataset and checking dataset so I have a problem to use the SVM where the results are not accuracy.
Thank you very much
Have Good Day
Unfortunately I am not aware of another website for your examples. If you can post your code and data we can take a look at it.

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 9 Oct 2013

Commented:

on 14 Oct 2013

Community Treasure Hunt

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

Start Hunting!