Skip to main content

A package for fitting spectral entropies of complex networks

Project description

# Networkqit package

The spectral entropy framework

An information theoretic approach inspired by quantum statistical mechanics was recently proposed as a means to optimize network models and to assess their likelihood against synthetic and real-world networks. Importantly, this method does not rely on specific topological features or network descriptors, but leverages entropy-based measures of network distance. Entertaining the analogy with thermodynamics, networkqit provides a computational tool for the estimate of spectral entropy and fitting of model parameters. These results enable the practical application of this novel and powerful framework to network model inference.

Documentation

The full documentation for this package under development and is currently being written, its current version is available at:

https://networkqit.github.io/

Installation

To use the networkqit package we suggest to use virtualenv. The networkqit package is pure Python, so it should work on Linux, Mac OSX and Windows. Here we report instructions for usage in a standard Ubuntu linux installation.

How to install on Linux

  1. Open a terminal, install pip and virtualenv and clone this repository

    cd

    sudo apt-get install python3-pip sudo pip3 install virtualenv virtualenv workspace cd workspace git clone https://bitbucket.org/carlonicolini/networkqit

  2. You cloned the repository. Now start the virtualenv session.

    source bin/activate

  3. If you are inside the virtualenv session, check that the Python version you are using is the one provided by virtualenv.

    which python3

  4. Now install the networkqit package within the virtualenv environment.

    cd networkqit python3 setup.py sdist

Now install the created Python package, that should come with all its dependencies matplotlib, numpy, networkx, pandas, numdifftools, bctpy

cd .. pip3 install networkqit/dist/networkqit-0.1.tar.gz

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

networkqit-0.13.2.tar.gz (27.6 kB view details)

Uploaded Source

File details

Details for the file networkqit-0.13.2.tar.gz.

File metadata

  • Download URL: networkqit-0.13.2.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

File hashes

Hashes for networkqit-0.13.2.tar.gz
Algorithm Hash digest
SHA256 70abde524e6bb24ae92552d76f4770a14ade3c9d37e141a06b5776c1734136dc
MD5 0a99d06126e2fa6cf022e44162b6cf78
BLAKE2b-256 f64048d95bc6f1472bc3f8d6323e9dafa53eb7e1d7d23cb73e9a9b106c4e9487

See more details on using hashes here.

Supported by

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