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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file signed_backbones-0.91.3.tar.gz.

File metadata

  • Download URL: signed_backbones-0.91.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for signed_backbones-0.91.3.tar.gz
Algorithm Hash digest
SHA256 b857f47c325689c914ef1924f36af05819e2c311c7b730054f2b623bb61495e6
MD5 5a73b4fb0e5da8bf96d356726ecea52a
BLAKE2b-256 059b2676abd320266691f1b0aba9ef9c036311e6e865d8152dd928f23185b778

See more details on using hashes here.

File details

Details for the file signed_backbones-0.91.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for signed_backbones-0.91.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 36b0b8a0a3ef7250b08b0dfc3ae31cc88dfdd857b2086535467e45da5125335b
MD5 566695cd96fe24df4eafdee1005e2024
BLAKE2b-256 57fdf8a55fb73911bf3f49c46a7f60dfd42498bbcf9dfec8ec42ee85ec40274b

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