Skip to main content

No project description provided

Project description

mplexaa

mplexaa is a Python package for computing the Multiplex Adamic-Adar score, a measure of node similarity in multiplex networks introduced by Aleta et al. (2020) [Arxiv] . The package also provides a class for creating and manipulating multiplex networks.

Installation

To install mplexaa, run the following command:

pip install mplexaa

Usage

The MultiplexGraphDataset class was first designed to read datasets from Manlio De Domenico's Datasets Released for Reproducibility.

from mplexaa import MultiplexGraphDataset, multiplex_adamic_adar

# Load the dataset
ds = MultiplexGraphDataset('csa')
maa = multiplex_adamic_adar(ds)

The file path for the datasets must be as follows:

project/
│-- datasets/
│   │-- csa/
│   │   │-- Dataset/
│   │   │   │-- edges.csv
│   │   │   │-- layers.csv
│   │-- ...
|-- main.py

An example of the project setup can be found the this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mplexaa-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mplexaa-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file mplexaa-0.1.1.tar.gz.

File metadata

  • Download URL: mplexaa-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for mplexaa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 66b3c50c39e6ee52cf363071774f0272d7bc88fd15053ccc79a50640f421a053
MD5 d4587be60122a83495c90dadbcefe951
BLAKE2b-256 e887607151569254fbec169c7b95a8fa5c238f16e6c40f9c0a7d1261f66c5d68

See more details on using hashes here.

File details

Details for the file mplexaa-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mplexaa-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for mplexaa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a14bdc8328eb4c6bb46f5f00f90a47b77c73b35479c353fe633ff6d04af5d6a0
MD5 77a349945ebfbd04945cd6e88edee241
BLAKE2b-256 25675deeebc12544213546d10220c30cad527615cb3809a5fa7232018279b8ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page