Matcher#

class Matcher[исходный код]#

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

Decides which cluster is assigned to which distribution family.

The result is a permutation of 0…k-1: family j receives cluster assignment[j].

To write a matcher, implement _match and use only the component table: take the values and the reasons of impossible pairs from it instead of estimating anything again. The public match() orders identical families after the matching step. Override the hook _order only when this order is defined by someone else.

Methods

match(table)

Match clusters to families and order identical families.