Crandore Hub

knnmi

k-Nearest Neighbor Mutual Information Estimator

This is a 'C++' mutual information (MI) library based on the k-nearest neighbor (KNN) algorithm. There are three functions provided for computing MI for continuous values, mixed continuous and discrete values, and conditional MI for continuous values. They are based on algorithms by A. Kraskov, et. al. (2004) <doi:10.1103/PhysRevE.69.066138>, BC Ross (2014)<doi:10.1371/journal.pone.0087357>, and A. Tsimpiris (2012) <doi:10.1016/j.eswa.2012.05.014>, respectively.

Versions across snapshots

VersionRepositoryFileSize
1.0 rolling linux/jammy R-4.5 knnmi_1.0.tar.gz 58.9 KiB
1.0 rolling linux/noble R-4.5 knnmi_1.0.tar.gz 59.2 KiB
1.0 rolling source/ R- knnmi_1.0.tar.gz 607.4 KiB
1.0 latest linux/jammy R-4.5 knnmi_1.0.tar.gz 58.9 KiB
1.0 latest linux/noble R-4.5 knnmi_1.0.tar.gz 59.2 KiB
1.0 latest source/ R- knnmi_1.0.tar.gz 607.4 KiB
1.0 2026-04-26 source/ R- knnmi_1.0.tar.gz 607.4 KiB
1.0 2026-04-23 source/ R- knnmi_1.0.tar.gz 607.4 KiB
1.0 2026-04-09 windows/windows R-4.5 knnmi_1.0.zip 128.3 KiB
1.0 2025-04-20 source/ R- knnmi_1.0.tar.gz 607.4 KiB

Dependencies (latest)

Suggests