formatting trainning set for testing purpose in matlab?

1 回表示 (過去 30 日間)
mmm ssss
mmm ssss 2012 年 4 月 2 日
Hi
i have a feature vectors of a 9*1 , for each person i have 4 vectors as 4 trainning images , so i obtaind for99 images a matrix of 9*4*99, now i creat the test set which contain one image , so one feature vector of 9*1.
For testing I need to use eucildean distance between test vector and the means of all 99 classes ,mean of class k = mean of the 4 training vectors of person k.
i.e i need to make the trainnig set matrix of 9*99 how can i do this by matlab.???
thanks alot for all

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by