Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Mutual information score

  • scikit-learn’s implementation, textbook algorithms and back-of-envelop calculations

  • explains why scikit’s results do not readily match our estimations

Example 1

Loading...

Scikit-learn

(0.005463676561923342, 0.005316659245237883)

Manual back-of-envelop calculation

0.005463676561923696 0.005316659245238226

Putting back-of-envelop calculation into code

0.005463676561923696 0.005316659245238226
0.007882419080908577 0.006344586884912296
0.005463676561923696 0.004397732511094565

Example 2

<Figure size 1080x1080 with 6 Axes>

Example 3

<Figure size 1080x504 with 3 Axes>

Example 4

<Figure size 1080x1080 with 1 Axes>
<Figure size 1080x1080 with 1 Axes>