Skip to main content

AISA: Auto-Information State Aggregation

Project description

Auto-Information State Aggregation

This is a python module aimed at partitioning networks through the maximization of Auto-Information. If you use this code, please cite the following paper:

State aggregations in Markov chains and block models of networks,
Faccin, Schaub and Delvenne, ArXiv 2005.00337

The module provides also a function to compute the Entrogram of a network with a suitable partition. The Entrogram provides a concise, visual characterization of the Markovianity of the dynamics projected to the partition space. In case you use this, please cite the following paper:

Entrograms and coarse graining of dynamics on complex networks,
Faccin, Schaub and Delvenne, Journal of Complex Networks, 6(5) p. 661-678 (2018),
ArXiv 1711.01987

Getting the code

Requirements

The following modules are required to aisa to work properly:

  • numpy and scipy
  • networkx
  • tqdm (optional)

Install

Download the code here and unzip locally or clone the git repository from Github.

On the terminl run:

pip install --user path/to/module

Uninstall

On the terminl run:

$ pip uninstall aisa

Usage

Read the online documentation that describes all classes and functions of the module.

Some simple notebook examples on module usage are provided in the examples subfolder:

  • a simple example of computing and drawing the entrogram and detecting the partition that maximize the auto-information in a well know small social network, see in nbviewer
  • an example on how to build a range dependent network and find the partition that maximize auto-nformation, see in nbviewer

License

Copyright: Mauro Faccin (2020)

AISA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AISA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Check LICENSE.txt for details.

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

aisa-1.0.0.tar.gz (270.5 kB view details)

Uploaded Source

Built Distribution

aisa-1.0.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file aisa-1.0.0.tar.gz.

File metadata

  • Download URL: aisa-1.0.0.tar.gz
  • Upload date:
  • Size: 270.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for aisa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 82896ae1e95a52e5e5c18c0c59d1589cba10307c168616d841fb69329a60762e
MD5 d8f08b7ced23f19939eac4a0a7f07548
BLAKE2b-256 4e99c6c2654c90c1ac4546a1dae540ecdaf33b0fe3513582fe28cf883f6d049d

See more details on using hashes here.

File details

Details for the file aisa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aisa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for aisa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb24b41c5caf3c53698ae327fa6235bdcac7fdbfa4843151b3be5845dd2249f
MD5 6e4141e6b2895fba6ff60c47d7150a69
BLAKE2b-256 5f152ab8d722cee28fb20af08f2c616b79265d7312ed8b7adb948b9851619fc8

See more details on using hashes here.

Supported by

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