[PATCH] scipy.stats.entropy documentation should mention log base
2 Mar
2008
2 Mar
'08
9:12 p.m.
Hello, It took me a while to figure out that stats.entropy does it logarithms base e. I expected it to work base 2 (from where I'm coming from, that's the traditional definition of entropy, but maybe other communities have other expectations). The attached patch adds a sentence to the documentation to that effect. It also adds an entropy2() function which works base 2. regards, -- Luís Pedro Coelho PhD Student in Computational Biology, CMU http://www.luispedro.org
6084
Age (days ago)
6084
Last active (days ago)
0 comments
1 participants
participants (1)
-
Luis Pedro Coelho