guided_tangle#

tangles.guiding.guided_tangle(tree: TangleSearchTree, feat_sys, subset: ndarray, min_agreement: int = 0) Tangle#

For a given subset, find the maximal guided tangle.

Parameters#

treeTangleSearchTree

The tangle search tree in which to look for the guided tangle.

feat_sys

The feature system.

subsetnp.ndarray

The subset to guide the tangle.

min_agreementint

Return a tangle of at least this agreement value.

Returns#

Tangle

The maximal tangle guided by the subset taken from the set of tangles of the tangle search tree which have agreement at least min_agreement.