Function for measure information loss by shannon information entropy.
Details
The information loss measured by information entropy formula is \(F = -\sum\limits_{i=1}^N p_{(i)}\log_2 p_{(i)} - \left(-\sum\limits_{h=1}^L p_{(h)}\log_2 p_{(h)}\right)\)
Author
Wenbo Lv lyu.geosocial@gmail.com