get_feature_ids#

AdvancedFeatureSystem.get_feature_ids(features: ndarray) tuple[ndarray, ndarray]#

If the advanced features or their inverses are already contained in the advanced feature system then return the id and specification of the feature. Otherwise -1 is returned.

Parameters#

featuresnp.ndarray

A matrix of shape (number of datapoints, number of features) encoding the features.

Returns#

tuple (np.ndarray, np.ndarray)

The feature ids and specifications.