Skip to main content

Python package for extracting signed backbones of intrinsically dense weighted networks.

Project description

Signed Backbone Extraction

This Python package provides tools to extract the signed backbones of intrinsically dense weighted networks.

Dependecies

  1. numpy
  2. pandas

Tested for numpy==1.20.1 and pandas==1.2.2 but should work with most versions.

Installation

Use the package manager pip to install signed_backbones.

pip install signed_backbones

Example Usage

import signed_backbones as sb
import pandas as pd

karate_net = pd.read_csv('karate.txt', header=None, sep='\t')

karate_sbb = sb.extract(karate_net, directed = False, significance_threshold = 2.576, vigor_threshold = (-0.1, 0.1))

See examples/KarateViz.ipynb for visualizations of the original Karate network and its extracted signed backbone.

Citation

If you find this software useful in your work, please cite:

Furkan Gursoy and Bertan Badur. (2020). "Extracting the signed backbone of intrinsically dense weighted networks." (2020).

Contributing

Please feel free to open an issue for bug reports, change requests, or other contributions.

License

MIT

Packaged with: Flit

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

signed_backbones-0.91.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

signed_backbones-0.91.3-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

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