Skip to main content

Motif-Based Spectral Clustering of Weighted Directed Networks

Project description

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

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

motifcluster-0.2.3.tar.gz (131.1 kB view details)

Uploaded Source

Built Distribution

motifcluster-0.2.3-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file motifcluster-0.2.3.tar.gz.

File metadata

  • Download URL: motifcluster-0.2.3.tar.gz
  • Upload date:
  • Size: 131.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.8

File hashes

Hashes for motifcluster-0.2.3.tar.gz
Algorithm Hash digest
SHA256 5a105bf6ee1decb09c332b98c3abbc89f40c3e8e9ab3f9e6740647b7692acfe6
MD5 db12d592383a13aedecf8db40a6fce00
BLAKE2b-256 f73e6043d94970b52140b7b5716d3028c80d405163706c48c90e35d808d58488

See more details on using hashes here.

File details

Details for the file motifcluster-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: motifcluster-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.8

File hashes

Hashes for motifcluster-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 776afa58f63fc71ab54d30865efee7bbcbc1e843ef0370bf6f3fcc4105a33629
MD5 0ff8ee62b363329fe802606ba0cbadd9
BLAKE2b-256 aa5f19c868c657e2b3e7166bba16f4855cc671f2c7c640213bc00ced4a95ecba

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