Pattern-Classification-2nd-CH2
所属分类:聚类算法
开发工具:matlab
文件大小:136KB
下载次数:0
上传日期:2021-01-12 02:52:26
上 传 者:
sh-1993
说明: 《模式分类》第2版第2章编程作业
(《Pattern Classification》2nd edition chapter 2 programming assignments)
文件列表:
Bhattacharyya.m (626, 2021-01-12)
CH2.mat (598, 2021-01-12)
CH2_1_a.m (337, 2021-01-12)
CH2_1_a_test.m (303, 2021-01-12)
CH2_1_a_test.png (11446, 2021-01-12)
CH2_1_b.m (439, 2021-01-12)
CH2_1_c.m (267, 2021-01-12)
CH2_1_d.m (341, 2021-01-12)
CH2_2.m (1792, 2021-01-12)
CH2_2_test.m (440, 2021-01-12)
CH2_2_test.png (5057, 2021-01-12)
CH2_3.m (510, 2021-01-12)
CH2_3.png (4631, 2021-01-12)
CH2_4.m (828, 2021-01-12)
CH2_4_test.m (886, 2021-01-12)
CH2_5.m (885, 2021-01-12)
CH2_5.png (4674, 2021-01-12)
CH2_6.m (2099, 2021-01-12)
CH2_6_test.m (135, 2021-01-12)
CH2_6_test_1.png (52246, 2021-01-12)
CH2_6_test_2.png (5248, 2021-01-12)
CH2_7.m (3339, 2021-01-12)
CH2_7_test.m (130, 2021-01-12)
CH2_7_test_1.png (10890, 2021-01-12)
CH2_7_test_2.png (5099, 2021-01-12)
CH2_8_a.m (130, 2021-01-12)
CH2_8_a_1.png (6028, 2021-01-12)
CH2_8_a_2.png (4761, 2021-01-12)
CH2_8_b.m (130, 2021-01-12)
CH2_8_b_1.png (11321, 2021-01-12)
CH2_8_b_2.png (4702, 2021-01-12)
CH2_8_c.m (130, 2021-01-12)
CH2_8_c_1.png (6454, 2021-01-12)
CH2_8_c_2.png (4995, 2021-01-12)
Chernoff.m (983, 2021-01-12)
# Pattern-Classification-2nd-CH2
### The repository contains the code of 《Pattern Classification》2nd Chapter2.
### Please refer to the blog (https://blog.csdn.net/lkj345/article/details/50480317) for more details.
Bhattacharyya.m: Find the Bhattacharyya bound given means and covariances of single gaussian distributions.
CH2.mat: CH2 data.
CH2_1_a.m: Generate random vectors from the multivariate normal distribution.
CH2_1_a_test.m: Generate two normal distributions and plot.
![CH2_1_a_test](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_1_a_test.png)
CH2_1_b.m: Discriminant function of a normal distribution given prior probability.
CH2_1_c.m: Calculate the Euclidean distance between two vectors.
CH2_1_d.m: Calculate the Mahalanobis distance of a vector.
CH2_2.m: Generate classification model of two classes, then calculate the classification error and the Bhattacharyya bound.
CH2_2_test.m: Plot classification error and Bhattacharyya bound.
![CH2_2_test](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_2_test.png)
CH2_3.m: Plot classification error and Bhattacharyya bound.
![CH2_3](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_3.png)
CH2_4.m: Calculate the Mahalanobis distance with three classes, then classify the vectors.
CH2_4_test.m: Test CH2_4.m with four vectors.
CH2_5.m: The script is to prove that the average of a large number of independent random variables follows Gauss distribution.
![CH2_5](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_5.png)
CH2_6.m: Calculate the classification error of two classes.
CH2_6_test.m: Test CH2_6.m.
![CH2_6_test_1](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_6_test_1.png)
![CH2_6_test_2](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_6_test_2.png)
CH2_7.m: Calculate the Bhattacharyya bound, estimated error and a series of classification error of two Gauss distribution.
CH2_7_test.m: Test CH2_7.m.
![CH2_7_test_1](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_7_test_1.png)
![CH2_7_test_2](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_7_test_2.png)
CH2_8_a.m: Test CH2_7.m with two Gauss distribution.
![CH2_8_a_1](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_a_1.png)
![CH2_8_a_2](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_a_2.png)
CH2_8_b.m: Test CH2_7.m with two Gauss distribution.
![CH2_8_b_1](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_b_1.png)
![CH2_8_b_2](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_b_2.png)
CH2_8_c.m: Test CH2_7.m with two Gauss distribution.
![CH2_8_c_1](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_c_1.png)
![CH2_8_c_2](https://github.com/chensonglu/Pattern-Classification-2nd-CH2/blob/master/CH2_8_c_2.png)
Chernoff.m: Find the Chernoff bound given means and covariances of single gaussian distributions.
近期下载者:
相关文件:
收藏者: