Description: Find the Fisher linear separator w (a column vector).
X is is the training set (X is a matrix. Each row of X
is a vector containing the features of a single sample). y is
a column vector with the labels of the training set (1 and-1).
alg is a number between 1 and 3 that specifies how to find w:
alg = 1: w is the generalized eigenvalue of A,B.
alg = 2: w is the solution to Bw = (mu_1-mu_2)
alg = 3: solve the corresponding regression problem
- [bp_algorithm_matlab] - MATLAB-based multilayer perceptron neura
- [LDA] - Linear discriminant analysis (LDA), LDA
- [lda] - About Linear (FISHER) Discriminant Analy
- [KLFDA] - This a Fisher linear discriminant analys
- [irntv] - The generalized total variation denoisin
File list (Check if you may need any files):
fisher.m