Code covered by the BSD License  

Highlights from
Mutual Information In probability theory and information theory

Be the first to rate this file! 14 Downloads (last 30 days) File Size: 14.16 KB File ID: #23274

Mutual Information In probability theory and information theory

by Guangdi Li

 

12 Mar 2009 (Updated 26 Jan 2010)

Code for marginally and conditional mutual information in probability and information theory

| Watch this File

File Information
Description

The definition of mutual information could resort to wiki:
http://en.wikipedia.org/wiki/Mutual_information

For marginal mutual information, we say it is :
I(A,B)=sum sum P(A,B) log[P(A,B)/P(A)P(B)]

For conditional mutual information, we say it is :
I(A,B|C)=sum sum P(A,B|C) log[P(A,B|C)/P(A|C)P(B|C)]

For mutual information matric, we say it is:
 the matric saves all pairs of I(A,B)

Please refer to "ControlCentor.m", we have a simple example for you understanding. If there is any question, please let me know, i will help you as soon as possible.

PS: fast mex programming functions are provided for advance users here too

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Mar 2009 Philip

There appears to be missing components from this submission, namely the function DimensionRangeValue called in ConstructLGObj:

??? Undefined function or method 'DimensionRangeValue' for input arguments of type 'double'.

Error in ==> ConstructLGObj at 7
    [ LGObj.VarRange,LGObj.VarRangeLength ] = DimensionRangeValue( OriginalSample,1 : LGObj.VarNumber );

Error in ==> ControlCentor at 6
LGObj = ConstructLGObj( Sample); % construct an object

17 Mar 2009 Guangdi Li

   Thanks for you comments, I am sorry that there is one file missed in document because of my carelessness. Next time, I will pay much attention.
   Please wait for one day, I have updated my files again. It will be published after the Center checks it.

Please login to add a comment or rating.
Updates
17 Mar 2009

one *.m is missed, I add it again. Thanks.

17 Mar 2009

I miss to add one file together, thus ..... Thanks for you help

26 Jan 2010

Add mex programming functions , to improve the efficiency

Tag Activity for this File
Tag Applied By Date/Time
mutual information Guangdi Li 13 Mar 2009 13:42:49
probability theory Guangdi Li 13 Mar 2009 13:42:49
information theory Guangdi Li 13 Mar 2009 13:42:49

Contact us at files@mathworks.com