Skip to main content

netseg is a python package for measuring segregation and structural polarization in social networks.

Project description

netseg

netseg is a python and R package for measuring segregation and structural polarization in social networks. It was developed to address several key gaps in the current ecosystem: netseg logo

  • A Unified Framework: While analyzing network segregation and polarization is common, the myriad of existing measures makes cross-network comparisons exceedingly difficult. netseg provides a centralized toolkit for standardizing these measurements.

  • Extensively Documented: netseg is extensively documented. From various case by case usage examples to the advanced null-model selection, it offers a clear guide for your research.

  • Advanced Null-Model Comparison: Many existing approaches rely on purely random graphs to quantify excess polarization or segregation, a notoriously low baseline. netseg allows you to use customized network ensembles as null models, enabling robust, comparative segregation analysis.

  • Extensions and Improved Optimization netseg offers extensions for already existing measures, calculating the structural polarization and segregation in directed and undirected networks with multiple groups. netseg is build on igraph and NumPy , it offers near bare-metal speed with NumPy's vectorization and igraph's C backend.

Support and Contact

If you come across any issues, please visit the repository pages.

Installation

Documentation

You can reach to the documentation here.

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

netseg-0.1.4.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netseg-0.1.4-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file netseg-0.1.4.tar.gz.

File metadata

  • Download URL: netseg-0.1.4.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for netseg-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2419d35aa60d8d3a1570a2ab2f5d3381bd559c8a2b454ee743928dbc0b6687c0
MD5 6125834686f99ea8454ccdd7825ae492
BLAKE2b-256 020a5943a2214e8fb2b1dada2352c093b7728b1aea92ad8b15dcb87fbbf04565

See more details on using hashes here.

File details

Details for the file netseg-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: netseg-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for netseg-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f94f48a4639dd00bd7b26675d6e9a62931a0200b32352aa8bc3e4fa5828ef81
MD5 0eeb35ba9197955b7b017435834c7537
BLAKE2b-256 2d2da89a9062f28c4bc7457a0884f7ef7b6c1dae4e436d97275ee34ec0d9ac0b

See more details on using hashes here.

Supported by

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