compute_infimum#

FeatureSystem.compute_infimum(feat_ids: ndarray | list, specifications: ndarray | list) ndarray#

Compute the infimum (intersection) of the given list of features.

Parameters#

feat_ids

the list of feature ids. The n-th feature intersected has id given by the n-th element of this list/one-dimensional array.

specifications

the list of specifications. The specification of the n-th feature intersected has id given by the n-th element of this list/one-dimensional array.

Returns#

np.ndarray

A +1/-1 indicator matrix specifying for every point of the ground set whether it is contained within the infimum of the given features.