dataeval.data.Limit¶
- class dataeval.data.Limit(size)¶
Cap the dataset to the first
sizeitems currently selected.Applied in place, in pipeline order:
Limittruncates whatever selection precedes it, so[Shuffle(), Limit(100)]keeps a random 100 while[Limit(100), Shuffle()]shuffles the first 100. Chaining is allowed —[Limit(1000), Shuffle(), Limit(100)]keeps a random 100 of the first 1000.