Skip to main content

Motif-Based Spectral Clustering of Weighted Directed Networks

Project description

motifcluster sticker


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


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.


pip install motifcluster


  • Networkx
  • Numpy
  • Scipy
  • Scikit-learn


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


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


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for motifcluster, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size motifcluster-0.1.1-py3-none-any.whl (28.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size motifcluster-0.1.1.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page