Module cluster

Module cluster 

Source
Expand description

§Clustering module

§License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

Code examples both in the docstrings and rendered documentation are free to use.

Functions§

cluster
Clustering a graph based on Markov steady-state flow calculations on its adjacency matrix.
clustering_cycle
Perform a Markov clustering cycle.
get_cluster_ids
Get a vector containing the cluster ID assignments (row indices of maximum values in each column).
get_cluster_map
Get a cluster mapping of cluster indices to original node indices.
get_tpm
get_tpm calculates the transfer probability matrix used in the Markov clustering algorithm.