dataeval.performance.schedules.ManualSchedule¶
- class dataeval.performance.schedules.ManualSchedule(eval_points)¶
Custom evaluation schedule with user-specified points.
Allows explicit control over evaluation points, useful for comparing specific dataset sizes or focusing on particular data regimes.
- Parameters:¶
- Raises:¶
ValueError – If eval_points contains non-numeric values
Examples
Single point:
>>> schedule = ManualSchedule(50) >>> schedule.get_steps(dataset_length=100) array([50])Multiple points:
>>> schedule = ManualSchedule([10, 50, 100]) >>> schedule.get_steps(dataset_length=100) array([ 10, 50, 100])- get_steps(dataset_length)¶
Return the pre-specified evaluation points.