Purpose. To compare effeciency of different realizations of approaches to estimation of mutual information function based on nearest neighbours.
Method. Two approaches to calculation of mutual information function were realized numerically: straightforward approach is based on brute force, and sorting based one.