NoImprovement
Module: opytimizer.core.stopping
patience non-improvement iterations
Constructor
NoImprovement(patience: int, min_delta: float = 1e-08) -> None
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
patience | int | — | |
min_delta | float | 1e-08 | — |
Methods
init_pbar
init_pbar(self, position) -> None
Progress Bar initialization.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
position | — |
reset
reset(self) -> None
Internal State reinicialization.
should_stop
should_stop(self, opt) -> bool
Return True when the criterio was satisfied
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
opt | — |
update_pbar
update_pbar(self, opt) -> None
Update the Progress Bar to the current optimization state.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
opt | — |