__getitem__#

AdvancedFeatureSystem.__getitem__(feat_ids) ndarray#

Get the feature or features as a matrix of indicator column vectors.

Parameters#

feat_idsint or np.ndarray

The feature id or list of feature ids to access.

Returns#

np.ndarray

Indicator-vector matrix of shape (number of datapoints, number of features) .