som 8.0.3 → 8.0.4
raw patch · 3 files changed
+7/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- som.cabal +2/−2
- test/Data/Datamining/Clustering/SOMQC.hs +4/−4
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2010-2012, Amy de Buitléir+Copyright (c) Amy de Buitléir 2010-2015 All rights reserved. Redistribution and use in source and binary forms, with or without
som.cabal view
@@ -1,5 +1,5 @@ Name: som-Version: 8.0.3+Version: 8.0.4 Stability: experimental Synopsis: Self-Organising Maps. Description: A Kohonen Self-organising Map (SOM) maps input patterns @@ -33,7 +33,7 @@ source-repository this type: git location: https://github.com/mhwombat/som.git- tag: 8.0.3+ tag: 8.0.4 library
test/Data/Datamining/Clustering/SOMQC.hs view
@@ -65,8 +65,8 @@ = property $ decayingGaussian r0 rf w0 wf tf 0 inside >= r0 * exp (-0.5) && decayingGaussian r0 rf w0 wf tf 0 outside < r0 * exp (-0.5)- where inside = w0 - 0.001- outside = w0 + 0.001+ where inside = w0 * 0.99999+ outside = w0 * 1.00001 prop_DecayingGaussian_decays_to_rf :: DecayingGaussianParams Double -> Property@@ -79,8 +79,8 @@ = property $ decayingGaussian r0 rf w0 wf tf tf inside >= rf * exp (-0.5) && decayingGaussian r0 rf w0 wf tf tf outside < rf * exp (-0.5)- where inside = wf - 0.001- outside = wf + 0.001+ where inside = wf * 0.99999+ outside = wf * 1.00001 fractionDiff :: [Double] -> [Double] -> Double fractionDiff xs ys = if denom == 0 then 0 else d / denom