Thread Subject: Fisher Linear Discriminant Analysis eigen vector

Subject: Fisher Linear Discriminant Analysis eigen vector

From: Hans adwss

Date: 22 Nov, 2009 20:44:03

Message: 1 of 1

Hi,

I need to do FLD on a dataset with 5000 samples and 500 features belonging to two classes.
I implemented the FLD with the standard formulas computing the within class and between class scatter matrix and eigenvalues.

I end up with something like [eigen,lambda] = eig(pinv(SW)*SB);
eigen has 500x500 dimension, and eigen(1,:)
should be the first component of FLD, am I right?

As far as I understand it should contain my data reduced to the one-dimensional space.
On this data I then have to train a classifier and see how it performs.

But I don't understand what I have to do to on the 5000 samples with this eigen matrix.

Because if I do PCA with processpca I get as result a 500x5000 matrix where
(1,:) is my first principal component of my data.

How do I acheive this with the eigenvector I have (get the 5000 points reduced to the first dimension).

Thanks for any hint

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
fld fisher line... Hans adwss 22 Nov, 2009 15:49:03
rssFeed for this Thread

Contact us at files@mathworks.com