Class MaxScoreIterationTerminationCondition

    • Constructor Detail

      • MaxScoreIterationTerminationCondition

        public MaxScoreIterationTerminationCondition​(double maxScore)
    • Method Detail

      • terminate

        public boolean terminate​(double lastMiniBatchScore)
        Description copied from interface: IterationTerminationCondition
        Should early stopping training terminate at this iteration, based on the score for the last iteration? return true if training should be terminated immediately, or false otherwise
        Specified by:
        terminate in interface IterationTerminationCondition
        Parameters:
        lastMiniBatchScore - Score of the last minibatch
        Returns:
        whether to terminate or not