5.6.2.7. statsmodels.sandbox.infotheo.logbasechange

statsmodels.sandbox.infotheo.logbasechange(a, b)[source]

There is a one-to-one transformation of the entropy value from a log base b to a log base a :

H_{b}(X)=log_{b}(a)[H_{a}(X)]

Returns:log_{b}(a)