Open ruisukun21 opened 2 years ago
I also think there is a problem in this place, so have you found a more reasonable 2DLDA code
in python
I utilized 2DLDA for the comparison methods for a paper on palmprint identification. I think I made it from scratch, let me see If I can upload it later.
the following part in line 57 makes no sense
Perhaps the intended code is:
the sb variable should correpond to Scatering between but it is actually implementing scatering within. I wonder why?
Is the implemented code theoretically accurate?
In the Fisher flavor of lda : U that maximizes trace (U.T S_total U) subject to U.T S_within U (see "Roweis discriminant analisys" for an example) but the code maximizes S_between while minimizing (S_total+S_between). I wonder is this theoretically sounding?
Is there a reason to use matrix inversion instead of using generalized eigen decomposition?