stoclust

Logo

Clustering algorithms using stochastic analysis and ensemble techniques.

ensemble

  ↳ stoclust

Contains functions for generating ensembles from data and calculating clusters over ensembles.

Functions

  • from_noise

    from_noise(vecs, noise_map, ensemble_size=100, show_progress=False)
    Given an ensemble of matrices and a clustering method, returns the result of clustering each trial as an ensemble of block matrices.
  • given_ensemble

    given_ensemble(mats, clustering_method, show_progress=False)
    Given an ensemble of matrices and a clustering method, returns the result of clustering each trial as an ensemble of block matrices.
  • random_clustering

    random_clustering(mat, clustering_method, ensemble_size=100, show_progress=False)
    Given a matrix and a function describing a random clustering method, returns an ensemble of block matrices.
  • smooth_block

    smooth_block(block_mats, window=7, cutoff=0.5)
    Given an ensemble of matrices and a clustering method, returns the result of clustering each trial as an ensemble of block matrices.