felipernb/algorithms.js — pull request #94 by liamgriffiths (2014-10-17 04:54:00+00:00)
Title: Add shannon entropy, test

Added a little function to calculate [entropy](https://en.wikipedia.org/wiki/Entropy_(information_theory)) - not sure if it fits in here, but it seems like it might. Let me know what you think. Cheers!