dataeval.data.Indices

class dataeval.data.Indices(indices)

Selects only the given indices from the dataset.

Parameters:
indices : Sequence[int]

The specific indices to select.

apply(view)

Apply this operation by mutating view in place.

apply_metadata(metadata)

Return possibly-updated dataset-level metadata (default: unchanged).