Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.29 KB

stopping_criteria.rst

File metadata and controls

43 lines (30 loc) · 1.29 KB

Stopping Criteria

Stopping criteria indicate when to exit the active learning loop.

Pre-implemented Stopping Criteria

  • :py~small_text.stopping_criteria.base.DeltaFScore
  • :py~small_text.stopping_criteria.kappa.KappaAverage

Interface

This interface is one of the trickiest, since you might stop on any information available within the active learning process (excluding experiment only information like the test set of course). Therefore all arguments here are optional and None by default, and the interface only provides a very loose frame on how stopping criteria should be built.

../../small_text/stopping_criteria/base.py

For an example, see the :py~small_text.stopping_criteria.kappa.KappaAverage, which stops when the change in the predictions over multiple iterations falls below a fixed threshold.

Classes

KappaAverage

DeltaFScore