@bdelab/jscat - v5.3.2
    Preparing search index...

    Class EarlyStoppingAbstract

    Abstract class for early stopping strategies.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _earlyStop: boolean
    _logicalOperation: "and" | "or" | "only"
    _nItems: CatMap<number>
    _seMeasurements: CatMap<number[]>

    Accessors

    • get evaluationCats(): string[]

      Returns string[]

    • get logicalOperation(): "and" | "or" | "only"

      Returns "and" | "or" | "only"

    Methods

    • Abstract method to be implemented by subclasses to evaluate a single stopping condition.

      Parameters

      • catToEvaluate: string

        The name of the cat to evaluate for early stopping.

      Returns boolean

    • Update the internal state of the early stopping strategy based on the provided cats.

      Parameters

      Returns void

    • Abstract method to be implemented by subclasses to update the early stopping strategy.

      Parameters

      • cats: CatMap<Cat>

        A map of cats to update.

      • OptionalcatToEvaluate: string

      Returns void