Skip to main content

Package of Algorithms for Nonparametric Inference with Networks in Python

Project description

PyPI version ReadTheDocs CI Run Auto-Tests

PANINIpy

PANINIpy: Package of Algorithms for Nonparametric Inference with Networks in Python is a package designed for nonparametric inference with complex network data, with methods for identifying hubs in networks, regionalizing mobility or distributional data over spatial networks, clustering network populations, and constructing hypergraphs from temporal data among other features.

Table of Contents

Installation

pip install paninipy

PyPI

Modules

Binning Temporal Hypergraphs

Identify MDL-optimal temporally contiguous partitions of event data between distinct node sets (e.g. users and products).
Utilizes method derived in “Inference of dynamic hypergraph representations in temporal interaction data” (Kirkley, 2024, https://arxiv.org/abs/2308.16546).

Clustering Network Populations

Generate synthetic network population datasets and perform clustering of observed network populations, multilayer network layers, or temporal networks.
Utilizes method derived in “Compressing network populations with modal networks reveals structural diversity” (Kirkley et al., 2023, https://arxiv.org/pdf/2209.13827).

Regionalization with Distributional Data

Perform MDL-based regionalization on distributional (e.g. census) data over space.
Utilizes method derived in “Spatial regionalization as optimal data compression” (Kirkley, 2022, https://arxiv.org/pdf/2111.01813).

Identifying Network Hubs

Identify hub nodes in a network using different information theoretic criteria.
Utilizes methods derived in “Identifying hubs in directed networks” (Kirkley, 2024, https://arxiv.org/pdf/2312.03347).

Regionalization with Community Detection

Perform community detection-based regionalization on network data.
Utilizes method derived in “Bayesian regionalization of urban mobility networks” (Morel-Balbi and Kirkley, 2024, https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.6.033307).

MDL Network Backbones

Infer global and local backbones of a network using the minimum description length principle .
Utilizes method derived in “Fast nonparametric inference of network backbones for graph sparsification” (Kirkley, 2024, https://arxiv.org/abs/2409.06417).

Documentation

Detailed documentation for each module and function is available at the link below:

PANINIpy Documentation

Attribution

The logo for this package was enhanced using Stable Diffusion model, an AI-based generative model created by Robin Rombach, Patrick Esser and contributors.

The model is released under the CreativeML Open RAIL-M License. For more details on the model and its licensing, refer to the following:

License

Distributed under the MIT License. See LICENSE for more information.

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

paninipy-1.2.tar.gz (22.3 kB view details)

Uploaded Source

File details

Details for the file paninipy-1.2.tar.gz.

File metadata

  • Download URL: paninipy-1.2.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for paninipy-1.2.tar.gz
Algorithm Hash digest
SHA256 51c01540f4361546e0f3853ec6afb626cd5459319542ee193c22ceaaca7d24e9
MD5 e24d479773a8c8468a1042d77b7a287a
BLAKE2b-256 b9d707bbdd291d899795564aaf75581a459100dfdcb120ac69c4b95c50335d72

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