Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clustering-louvain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
clustering-louvain
Commits
e4235d09
Commit
e4235d09
authored
Mar 12, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some doc for a paper
parent
cdba50dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
HLouvain.hs
src/Data/Graph/Clustering/HLouvain.hs
+9
-3
No files found.
src/Data/Graph/Clustering/HLouvain.hs
View file @
e4235d09
...
@@ -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'
-}
-}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment