Skip to content

Leiden not working for Zacharys Karate Club dataset #43

@nicarq

Description

@nicarq

I tried using Leiden for the classic dataset of Zacharys Karate Club but it's not working. I wonder what I'm doing wrong. It didn't cluster anything at all.

This is what I get

Loaded network with 34 nodes
Loaded compact network with 34 nodes
Leiden algorithm did not improve the clustering.
Cluster 11: [11]
Cluster 33: [33]
Cluster 12: [12]
Cluster 18: [18]
Cluster 31: [31]
Cluster 27: [27]
Cluster 21: [21]
Cluster 25: [25]
Cluster 28: [28]
Cluster 29: [29]
Cluster 14: [14]
Cluster 26: [26]
Cluster 6: [6]
Cluster 4: [4]
Cluster 2: [2]
Cluster 8: [8]
Cluster 19: [19]
Cluster 1: [1]
Cluster 15: [15]
Cluster 24: [24]
Cluster 5: [5]
Cluster 10: [10]
Cluster 13: [13]
Cluster 22: [22]
Cluster 9: [9]
Cluster 32: [32]
Cluster 30: [30]
Cluster 7: [7]
Cluster 3: [3]
Cluster 0: [0]
Cluster 16: [16]
Cluster 17: [17]
Cluster 23: [23]
Cluster 20: [20]

the code is here https://github.com/nicarq/example-leiden-rust/tree/main fwiw I may had done something incorrect when using the library because it's strange that it didn't work

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions