packages feed

hstatistics 0.2.2.7 → 0.2.2.8

raw patch · 3 files changed

+4/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGES view
@@ -70,3 +70,5 @@ 		fixed Setup.lhs (as there is no configure.hs)   		  pointed out by dons +0.2.2.8:+		fixed definition of mutual information to be non-negative
hstatistics.cabal view
@@ -1,5 +1,5 @@ Name:               hstatistics-Version:            0.2.2.7+Version:            0.2.2.8 License:            BSD3 License-file:       LICENSE Copyright:          (c) A.V.H. McPhail 2010, 2011
lib/Numeric/Statistics/Information.hs view
@@ -54,6 +54,6 @@ mutual_information p px py (x,y) = let ps = probability p $ zipVector x y                                        xs = probability px x                                        ys = probability py y-                                   in negate $ dot ps (logE ps - logE (xs*ys)) +                                   in dot ps (logE ps - logE (xs*ys))   -----------------------------------------------------------------------------