This code was forked from the “nikola-m/machine-learning” github repository. From "Comparing two observed confusion matrices.ipynb" was extracted "Confusion_mat_comparison" class. This class was renamed to "confmatcomp" in the module that can be imported with the name "machinelearning.py". It is in use in "DusanRandD/Human-Activity-Recognition" repository. This module must be on the system path so it can be imported in a script.