8000 GitHub - davidjmstewart/PythonNewmanModularity: An example of implementing Newman's modularity algorithm in Python 3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

davidjmstewart/PythonNewmanModularity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

PythonNewmanModularity

An example of implementing Newman's modularity algorithm in Python 3, calculating the modularity score for Zachary's Karate Network.

N.B. The computed modularity score is 0.393. This is the correct modularity score without the extra optimisation step recommended in Newman's paper.

Running

This is a self contained example. Ensure you have numpy installed, and run with python newman_example.py

About

An example of implementing Newman's modularity algorithm in Python 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0