Cs281:advanced Machine Learning Section II Information Theory information theory

Source: Internet
Author: User

Entropy of information theory

If the discrete random variable has a P (X) distribution, then X carries the entropy (amount of information):


The reason for using log2 as a base is to make it easy to measure how many bits the information can be represented by. Because 1 bit is not 0 or 1. It can be deduced from the above formula that when the probability of K states is the same, the greater the entropy of the random variable x carries. As indicated by the Bernoulli distribution the entropy carries the result with the probability variation:


KL divergence

KL divergence full name Kullback-leibler divergence , used to measure the degree of dispersion between two distributions. The formula is as follows:



H (p, q) is cross entropy.


KL divergence can be understood as the additional bit that is caused by the use of distribution Q instead of the distribution p to encode the data.

Mutual information

The mutual information is used to measure the KL divergence between P (x, Y) and P (x) p (y), and the expression is as follows, if the divergence between them is greater, the more connections are made. In particular, when divergence is 0, p (x) and P (y) are exactly independent. P (x,y) = P (X) P (Y).


Expressed in another form:



References

Prml

Mlapp

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Cs281:advanced Machine Learning Section II Information Theory information theory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.