Skip to main content
motifcluster sticker

motifcluster

A Python package for motif-based spectral clustering of weighted directed networks.

Introduction

The motifcluster package provides implementations of motif-based spectral clustering of weighted directed networks in Python. These provide the capability for:

  • Building motif adjacency matrices

  • Sampling random weighted directed networks

  • Spectral embedding with motif adjacency matrices

  • Motif-based spectral clustering

The methods are all designed to run quickly on large sparse networks, and are easy to install and use. These methods are based on those described in [Underwood, Elliott and Cucuringu, 2020], which is available at arxiv:2004.01293.

Installation

From PyPI:

pip install motifcluster

With conda:

conda install -c conda-forge motifcluster

Dependencies

  • Networkx

  • Numpy

  • Scipy

  • Scikit-learn

Documentation

Documentation for the motifcluster package is available on Read the Docs.

Tutorial

A tutorial for the motifcluster package is available on Github in the tutorial directory.

Authors

Metadata

Release files for motifcluster 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for motifcluster 0.2.3
File Size Uploaded Provenance Actions
motifcluster-0.2.3.tar.gz 131.1 kB Without provenance Details for motifcluster-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for motifcluster 0.2.3
File Interpreter ABI Platform Actions
motifcluster-0.2.3-py3-none-any.whl Python 3 none any Details for motifcluster-0.2.3-py3-none-any.whl

Total release size: 159.2 kB

Release files / motifcluster-0.2.3.tar.gz

Download URL motifcluster-0.2.3.tar.gz
Size 131.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a105bf6ee1decb09c332b98c3abbc89f40c3e8e9ab3f9e6740647b7692acfe6
BLAKE2b-256 checksum
How to use checksums
f73e6043d94970b52140b7b5716d3028c80d405163706c48c90e35d808d58488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.8

Release files / motifcluster-0.2.3-py3-none-any.whl

Download URL motifcluster-0.2.3-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
776afa58f63fc71ab54d30865efee7bbcbc1e843ef0370bf6f3fcc4105a33629
BLAKE2b-256 checksum
How to use checksums
aa5f19c868c657e2b3e7166bba16f4855cc671f2c7c640213bc00ced4a95ecba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.8

Security for motifcluster 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page