Introduction
Data tools to increase productivity in your workflow
How to setup
Install with pip:
pip install core_graph
Metrics in community finding:
1. Modularity
Modularity measures the strength of division of a network into communities. It compares the density of connections inside communities to the density of connections between communities.
Modularity values typically range from -1 to 1:
- Positive values indicate more edges within communities than would be expected by random chance.
- Negative values indicate fewer edges within communities than expected by random chance.
In practice, modularity values for real networks with good community structure often fall in the range of 0.3 to 0.7.
Using Modularity for Comparison:
- Higher modularity generally indicates a better community structure.
- You can compare the modularity scores of different community detection algorithms on the same network.
- The algorithm that produces the highest modularity score is often considered to have found the best community structure.
2. Codelength
Codelength is a central concept in Infomap's approach to community detection.
It's based on the principle of data compression and information theory:
- Codelength represents the average number of bits needed to describe a random walk on the network.
- A lower codelength indicates a better partition of the network into communities.
- Infomap aims to minimize this codelength, which corresponds to finding the best community structure.
The codelength consists of two parts:
- The description length of movements between modules
- The description length of movements within modules
Metadata
Release files for core-graph 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| core_graph-0.0.6.tar.gz | 6.5 MB | Without provenance | Details for core_graph-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| core_graph-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for core_graph-0.0.6-py3-none-any.whl |
Total release size: 6.5 MB
Release files / core_graph-0.0.6.tar.gz
| Download URL | core_graph-0.0.6.tar.gz |
|---|---|
| Size | 6.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dac7599eaf699cee0d61b1c8fdc7a714071dcbad5be8d144330fd4a0aac6ca74
|
|
BLAKE2b-256 checksum How to use checksums |
660a7c769fd93410b4f4379049da69cc0eda69e2822d756105547738a0723793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.5
|
Release files / core_graph-0.0.6-py3-none-any.whl
| Download URL | core_graph-0.0.6-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35631c4e66a6c9c39a9338c677bf46221e16bce04990d965c57c0a3103358ddb
|
|
BLAKE2b-256 checksum How to use checksums |
f2eeb4bc2d5e264506e3d36e54809893c346249736fcab8c6e7de92c56d93959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.5
|
Security for core-graph 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.