Parzen-window-method
代码说明:
此为模式识别中Parzen窗法估计概率密度函数。 全部程序流程如下: 1、读取FAMALE.TXT文件把身高或体重给数组,并求x1的样本数N1和窗宽、体宽; 2、读取MALE.TXT文件把身高或体重给数组,并求x2的样本数N2和窗宽、体宽; 3、读取Test2.txt文件把对应的身高或体重给数组A并求A的样本数M; 4、利用Parzen窗法估计概率密度函数判别男女性别; 5、对本判别的错误率进行统计。 (This is the pattern recognition Parzen window method to estimate the probability density function . All program flow is as follows : 1 , read FAMALE.TXT file to height or weight to the array, and find the number of samples x1 N1 and window width , body width 2 , read MALE.TXT file to height or weight to the array, and find the number of samples x2 N2 and window width , body width 3 , read Test2.txt file to the corresponding height or weight requirements for the array A and A is the number of samples M 4 , the use of Parzen window method to estimate the probability density function of gender discrimination 5 , determine the error rate of the statistics . )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!