dataeval.selection.Selection¶
- class dataeval.selection.Selection¶
Base class for all selection criteria used with
Select.Custom selection criteria should subclass this and set
stageto control execution order:SelectionStage.STATE(0) — set size limits (e.g.Limit)SelectionStage.FILTER(1) — narrow indices (e.g.ClassFilter)SelectionStage.ORDER(2) — reorder indices (e.g.Shuffle)
Subclasses must implement
__call__which mutates theSelectwrapper’s internal index list in place.