ComponentTable#

class ComponentTable(*args, **kwargs)[исходный код]#

Базовые классы: Protocol

Everything a matcher may ask about the components estimated for pairs of a family and a cluster.

Matchers use only this protocol and see neither the sample, nor the partition, nor the component estimator.

Переменные:

k (int) – Number of families, equal to the number of clusters.

Methods

groups()

Groups of identical families as tuples of family indices.

cluster_means()

Means of the clusters, indexed by the column of the partition.

loglikelihood(j, c)

Log-likelihood of cluster c under the component of family j estimated on that cluster.

failure(j, c)

Why the log-likelihood of the pair is not finite, or None exactly when it is finite.