StepBreakpointer#
- class StepBreakpointer(max_steps)[исходный код]#
Базовые классы:
BreakpointerStops the pipeline after a fixed number of iterations.
The counter is reset by
reset(), whichPipeline.fit()calls before every fitting run, so eachfitstarts counting from zero.- Параметры:
max_steps (int) – Maximum number of iterations before stopping. Must be >= 1.
- Переменные:
max_steps (int) – Maximum iteration limit.
- Исключение:
ValueError – If
max_stepsis <= 0.
Methods