Minimum mutual information algorithm

#1
Hello all,

I'm just wondering if an R package or script is floating around for finding the first minimum mutual information of self-paired 2-dimensional data.

See here for the original algorithm and here for non-R code.

Thanks!
 
Last edited:

bryangoodrich

Probably A Mammal
#2
The only thing I could find was the entropy package: http://cran.r-project.org/web/packages/entropy/index.html

It has a mi.empirical() function that calculates the mutual information. Not sure about minimization, but that's an optimization problem then.

Additionally, you can take that C script and integrate it with R (plenty of documentation out there on how). I'd prefer making it a C++ version and then using the Rcpp package because it's even more straight-forward to embed your C++ code with R.