download and install PIL.
For probability distributions, the sum of such values gives the Shannon relative entropy.
Hamming distance or Shannon mutual information entropy would be examples.
In Python no function is truly private given that it can be accessed from an object if you
8
Note that due to a bug in PIL at the time of writing, an extra line data =
array(data.tolist()) is required for proper function.