Euclidean Distance Classifier implementation for classifying 6 expressions

4 views (last 30 days)
Hi I am doing project in emotion recognition.I have to implement the Euclidean disatnce classifier for classifying 6 emotions.Could you please explain how to implenment in MATLAB.
Thanks in advance

Accepted Answer

Ilya
Ilya on 28 Feb 2013
If by "Euclidean distance classifier" you mean nearest neighbor rules, take a look at ClassificationKNN in Statistics Toolbox. If you don't have a recent version of MATLAB, take a look at function knnsearch in the same toolbox. Search the doc for examples of usage for classification problems.
If you are not talking about nearest neighbor rules, you'd have to describe "Euclidean distance classifier" in more detail.

More Answers (1)

Jan
Jan on 28 Feb 2013
This is a very vague question and it does not stress the fact enough that this is your project. I we explain, how you have to implement this in Matlab, it would be our project.
I suggest to try to find out as much as possible by your own and use the forum to ask specific Matlab related questions, which can be answered preferrably in 4 sentences or 10 lines of code. Image Analyst will post 200 lines of code also, but even he needs a more detailed questions.
I personally detest to implement something in Matlab, which will loose a competition with a 1 year old child. It is like the construction of a machine which stirs my coffee - from a global point of view it does not solve anything, which could not be done with a smaller amount of time and energy. There are so many really useful jobs, which are waiting for a programmer. But this is only my personal view.
  2 Comments
DS
DS on 28 Feb 2013
I have gone through many papers (around 40) and tried to implement also , I am not asking to write to code for me. I have impplemented the classification using NEural network Classifier.Now I am trying to implement with Euclidean distance classifier.For imppleneting SVM,inbuilt toolbox is available in MATLAB. I just want to know any toolbox is available like that. I dont want to implement do my work by others.I am doing my programs by myself only.I thought i will get some usefull information thats all.I am not asking anyone to program for me . Thanks Thanks
Jan
Jan on 28 Feb 2013
Fine, these are important informations. Now it is much easier to help you.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!