fuzzyclust.coclustering#

Fuzzy co-clustering of objects and items.

A non-negative object–item matrix (documents and terms, users and products, cooccurrence counts) has two sets of entities that are clustered together: a co-cluster is a group of objects and the group of items that characterizes it.

  • FCCM – fuzzy clustering for categorical multivariate data (Oh, Honda and Ichihashi, 2001): aggregation degree with entropy regularization of both membership sets;

  • FCoDoK – fuzzy co-clustering of documents and keywords (Kummamuru, Dhawale and Krishnapuram, 2003): the same objective with quadratic regularizers and linear updates;

  • make_block_matrix() – block-structured count matrix with known co-clusters;

  • plot_coclusters(), plot_item_memberships() – matplotlib helpers.

Fuzzy co-clustering of objects and items (FCCM, Fuzzy CoDoK).

Classes#

FCCM([n_clusters, lambda_u, lambda_w, tol, ...])

Fuzzy clustering for categorical multivariate data, FCCM (Oh, Honda, and Ichihashi, 2001).

FCoDoK([n_clusters, lambda_u, lambda_w, ...])

Fuzzy co-clustering of documents and keywords, Fuzzy CoDoK (Kummamuru, Dhawale, Krishnapuram, 2003).

Functions#

make_block_matrix([n_blocks, ...])

A block-structured object--item count matrix with known co-clusters.

plot_coclusters(R[, model, row_labels, ...])

Heat map of an object--item matrix with rows and columns reordered by co-cluster.

plot_item_memberships(model[, ax, ...])

Bar chart of the item memberships of every co-cluster.