I want to do classification using "[url removed, login to view]", i find this program and i don't know if it's rigth or not, i need some help for a professionnal person, someone who are already work with this method to do classification :
Here is the Program :
% for trainig part
obj1 = [url removed, login to view](train_data1,8);
obj2 = [url removed, login to view](train_data2,8);
train_data1 and train_data2 are my data group. train_data1 labelled with 1 and the train_data2 labelled with 2.
I am trying to fit 2 mvn. I hope up to this point it is OK.
% for classification part
aaa = pdf(obj1,unknown_data);
bbb = pdf(obj2,unknown_data);
if aaa > bbb;
disp('unkown data belongs to first group');
disp('unkown data belongs to second group');
for this part, when a unkown data vector is gotten, It will evaluate and find the P(obj1|unknown_data) and P(obj2|unknown_data). And which one is greater, then it says that unkown data belongs to that distribution.