Thursday, 2 June 2016

Matlab Tips and Shortcut Keys

Tips

--Highlight the command and Press F1 to do the detail about that Keyword

--Whenever you feels your code is not working you can just run that code into pieces or even a single statement in Command Window

--In case you find a wave in many colours to differentiate it in order to create window etc on that plot figure screen only click on the box appering on extreme right of that figure dialoge box


What is Classifier in Matlab

Classifier are the set of Variables that are assigned a classification through some training function say svmtrain( ) or fitcsvm( ). As far as i have researched i got first we have some of our inbuilt data store in our matlab code say a voice of me and a voice of you i.e say two voices let say for recognition of a particular word .Now Let say we have taken a voice of third person to test while a program run.In case now if we want to know whether the voice of test person is matching with your voice and mine voice for that particular word.For that we need to do a classification. Now this classification needs a classifier one of the classifier is SVM. Whereas fitcsvm( ) and svmtrain( ) which are use to provide the value to this classifier are known as Train binary support Vector machine classifier.


What is their in the code of classification

--Feature Extraction---Feature can be skewness( ),kurtosis( ),mfcc( ),lpc( ) ......and manymore inbuilt functions are there. I guess any user defined function that is created by you say function1( ) is also a feature.

--Training
   --In training part we usually use keywords like fitcsvm( )--(if you have to seprate one class), or svmtrain( )--(if you have to classify more than one class).

In Binary classification you do only two class classification i.e in parameter of above functions you take one class as -1 and other as 0 or anything say a and b....it is useful when you have to sepreate two classes say the population of girls and boys in a home....where you can assign girl as -1 say and assign 1 to boys say.

--Classicifation
   --I guess it is a final plot of a graph which is having green and red dots which are the features of a 2      class respectively