PCA LDA

7 ビュー (過去 30 日間)
Jigar Gada
Jigar Gada 2012 年 3 月 21 日
回答済み: Matlaber 2019 年 3 月 5 日
Hello, I am doin a project on face detection+recognition. Face detection part is working properly. I hav done face recognition using PCA but this method is highly undependable, so i planned to use LDA once we get the weights using PCA. However LDA algo gives me a eigenvector of size m*m where m=number of classes(in my case faces). However for recognition testing the vector will be of size M*1. where M=no of eigen vectors using PCA and i hav to project it on the LDA space but the dimensions arent matching. so ther is an error. Please someone help me out. I am stuck at this point.
  1 件のコメント
Ilya
Ilya 2012 年 4 月 4 日
If you show your code, it would help understand what you are asking.
MATLAB implementations of LDA, either function CLASSIFY or the new class ClassificationDiscriminant, compute m*(m-1)/2 sets of linear coefficients for m classes. I don't know what you mean by "eigenvector of size m*m".
Perhaps you want to project your data onto the principal components and then apply LDA to the projected data. It is hard to be certain based on your description that that's what you want.

サインインしてコメントする。

回答 (1 件)

Matlaber
Matlaber 2019 年 3 月 5 日
Why deleted?

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by