Title:
Fisher-linear-discriminant-method Download
Description: This the pattern recognition method, to calculate the Fisher linear discriminant classifier .Were male , female and total error rate error rate statistics .
All program flow is as follows :
1 , read FAMALE.TXT file to height or weight to the array, and find the sample mean m1 x1 and internal dispersion S1
2 , read MALE.TXT file to height or weight to the array, and find the sample mean m2 and x2 within the dispersion S2
3 , for the best transformation vector and the threshold point
4 , read Test2.txt file to the corresponding height or weight requirements for the array A and A is the number of samples M
5 , the best transformation vector and the threshold point , x substituted into the discriminant equation g (x)
6 , determine the error rate of the statistics .
To Search:
File list (Check if you may need any files):
Fisher.m
MALE.TXT
test1.txt
test2.txt
FEMALE.TXT
Fisher.asv