Commit e4235d09 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Some doc for a paper

parent cdba50dc
...@@ -7,6 +7,15 @@ Maintainer : alexandre.delanoe+louvain@iscpif.fr ...@@ -7,6 +7,15 @@ Maintainer : alexandre.delanoe+louvain@iscpif.fr
Stability : experimental Stability : experimental
Portability : POSIX Portability : POSIX
Clustering is not precise enought to work with (kmeans clustering is not
the same methodology than Louvain clustering fo rinstance).
Here is a new semantic to change this situation.
glustering vs klustering
glustering: agglomerate according to glue rules (bottom up)
klustering: split in k parts according to klue rules (top down)
-} -}
{-# LANGUAGE ConstrainedClassMethods #-} {-# LANGUAGE ConstrainedClassMethods #-}
...@@ -133,7 +142,6 @@ inDendo g d1@(Dendogram _ _) d2@(Dendogram _ _) = Dendogram n' (hasScore g n') ...@@ -133,7 +142,6 @@ inDendo g d1@(Dendogram _ _) d2@(Dendogram _ _) = Dendogram n' (hasScore g n')
n' | hasScore g [d1, d2] > ss = [d1,d2] n' | hasScore g [d1, d2] > ss = [d1,d2]
| otherwise = [ds] | otherwise = [ds]
------------------------------------------------------------------- -------------------------------------------------------------------
nodesD :: Dendogram -> Set Node nodesD :: Dendogram -> Set Node
nodesD (Gram n) = Set.singleton n nodesD (Gram n) = Set.singleton n
...@@ -233,5 +241,3 @@ unionFind = ST.runUnionFind $ do ...@@ -233,5 +241,3 @@ unionFind = ST.runUnionFind $ do
pure n' pure n'
-} -}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment