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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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