Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 22:54
2a1b9ed

EarlyStopping v1.0.0

Diff since v0.3.0

  • (breaking) The formerly deprecated NotANumber() is removed. Use InvalidValue() instead.

  • (breaking) The syntactic sugar criterion1 + criterion2 for Disjunction(criterion1, criterion2) has been removed.

  • (breaking) The form of internal state of some stopping criterion has has changed,
    and the form of this internal state is now considered private (subject to change without
    tagging a new release as breaking).

  • (breaking) The method reset!(stopper, state) has been removed (but
    reset!(stopper) remains). If you need fine control over internal state, use the
    functional-style interface for interacting with stopping criterion.

  • (breaking) The output of message(::InvalidValue) has changed slightly.

  • (enhancement) All stopping criteria now implement a new method
    public_state(criterion, state), returning a human-readable named tuple, except if
    criteria isa Disjunction, in which case a vector named tuples is returned - one tuple
    for each criterion in the disjunction. This method's output will not change except in
    future releases tagged as breaking.

Merged pull requests:

Closed issues:

  • Make internal state part of public API (#31)
  • Warmup is limited to wrapping subtypes of StoppingCriterion (#35)