Skip to main content

A package for computing the Multiplex Adamic-Adar score, a measure of node similarity in multiplex networks.

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.2.tar.gz (6.3 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.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mplexaa-0.1.2.tar.gz
  • Upload date:
  • Size: 6.3 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.2.tar.gz
Algorithm Hash digest
SHA256 ed57d8ccc38ea827c8b5a328fd05d96b49bc1c710234663c58e60efac5584946
MD5 c276584a0550cc23debd4237a6ea6e31
BLAKE2b-256 9d735bf0b44a39860b5700d865dc3b1c6eec39a1bf58cb1d74239cea166583f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mplexaa-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be8807a6fb7afd1f0dfd99892611c84ab237ec21f27731c2e2d9ff1879dfb574
MD5 320854840a3bba1a34c075f04db5cc7b
BLAKE2b-256 08d3d12d9a36da8bf3e6238e513be9599ac806d6029aee83eeff52aa9073c951

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