spectral-clustering 0.3.0.0 → 0.3.0.1
raw patch · 2 files changed
+1/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
spectral-clustering.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: spectral-clustering-version: 0.3.0.0+version: 0.3.0.1 license: GPL-3 license-file: LICENSE copyright: 2019 Gregory W. Schwartz
src/Math/Clustering/Spectral/Sparse.hs view
@@ -37,7 +37,6 @@ import qualified Numeric.LinearAlgebra as H import qualified Numeric.LinearAlgebra.Devel as H import qualified Numeric.LinearAlgebra.SVD.SVDLIBC as SVD-import Debug.Trace -- Local @@ -117,10 +116,8 @@ secondLeft n e m = fmap (S.sparsifySV . S.fromListDenseSV e . drop (n - 1) . H.toList) . H.toColumns- . (\x -> traceShow x x) . (\(!x, _, _) -> x) . SVD.sparseSvd (e + (n - 1))- . (\x -> traceShow x x) . H.mkCSR . fmap (\(!i, !j, !x) -> ((i, j), x)) . S.toListSM