Hello,
I try to use this programm but I am totally new to matlab (but have experience in R). When I call the function
mrmr_mid_d (variables, response, 25)
the following error occurs:
??? Undefined function or method 'mrmr_mid_d' for input arguments of type 'double'.
The same occures when I convert my data in int8 or single.

something similar happens when I try to use the demo_mi.m :

mutualinfo(a,b)
??? Undefined function or method 'estpab' for input arguments of type 'double'.
Error in ==> mutualinfo at 21
[p12, p1, p2] = estpab(vec1,vec2);

I think my problem is very a very basic one because I do not know anything about Matlab.
Could anybody please help me. It is very important for me to use this programm and the online version does not work with my data set because it is too large.

I also got the ESTPAB problem. When I tried running makeosmex to recompile mex files I got the error below.
>>
xcodebuild: error: SDK "macosx10.7" cannot be located.
xcrun: error: unable to find utility "clang++", not a developer tool or in PATH
mex: compile of ' "estcondentropy.cpp"' failed.
Unable to complete successfully.
Error in makeosmex (line 25)
mex(list(i).name);
<<
None of the solutions on this board worked for me (e.g. changing log(2) to log(2.0) or to log(double(2)), etc.
The problem turned out to be that I have Xcode 5.0 and Mac OS10.8, which apparently does not work out-of-the-box. The solution suggested by the Mathworks support team worked for me:
http://www.mathworks.com/matlabcentral/answers/103904
After that, makeosmex compiled for me and I was able to run demo_mi.
Other than that this package looks good.

5

24 Jan 2014

Mutual Information computation
A self-contained package for computing mutual information, joint/conditional probability, entropy

Is there any assumption made when calculating mutualinfo(x, y) if one of vector x,y is binary?
In my data, y is binary and I tried several different x. Surprisingly, several different x give the same mutualinfo to the last digit of double type.
I think some assumption must be made on estimating kernel density. Could author give some insight?

Comment only

10 Jun 2013

Mutual Information computation
A self-contained package for computing mutual information, joint/conditional probability, entropy

Comment only