Code Monkey home page Code Monkey logo

pattern-classification-2nd-ch2's Introduction

Pattern-Classification-2nd-CH2

The repository contains the code of 《Pattern Classification》2nd Chapter2.

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

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

CH2_3.m: Plot classification error and Bhattacharyya bound.

CH2_3

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

CH2_6.m: Calculate the classification error of two classes.
CH2_6_test.m: Test CH2_6.m.

CH2_6_test_1 CH2_6_test_2

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 CH2_7_test_2

CH2_8_a.m: Test CH2_7.m with two Gauss distribution.

CH2_8_a_1 CH2_8_a_2

CH2_8_b.m: Test CH2_7.m with two Gauss distribution.

CH2_8_b_1 CH2_8_b_2

CH2_8_c.m: Test CH2_7.m with two Gauss distribution.

CH2_8_c_1 CH2_8_c_2

Chernoff.m: Find the Chernoff bound given means and covariances of single gaussian distributions.

pattern-classification-2nd-ch2's People

Contributors

chensonglu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.