Skip to main content

Compute diffusion scores over networks

Project description

DiffuPy is a generalizable Python implementation of the numerous label propagation algorithms (see all here).

Installation

  1. diffupy can be installed with the following commands:
$ python3 -m pip install git+https://github.com/multipaths/DiffuPy.git@master
  1. or in editable mode with:
$ git clone https://github.com/multipaths/DiffuPy.git
$ cd diffupy
$ python3 -m pip install -e .

Command Line Interface

The following commands can be used directly use from your terminal:

1. Run a diffusion analysis The following command will run a diffusion method on a given network with the given data. More information here.

$ python3 -m diffupy diffuse --network=<path-to-network-file> --input=<path-to-data-file> --method=<method>

2. Generate a kernel with one of the seven methods implemented Generates the regularised Laplian kernel of a given graph. More information in the documentation.

$ python3 -m diffupy kernel --network=<path-to-network-file>

Disclaimer

DiffuPy is a scientific software that has been developed in an academic capacity, and thus comes with no warranty or guarantee of maintenance, support, or back-up of data.

Project details


Download files

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

Files for diffupy, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size diffupy-0.0.2.tar.gz (430.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page