Interface IterationTerminationCondition

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void initialize()
      Initialize the iteration termination condition (sometimes a no-op)
      boolean terminate​(double lastMiniBatchScore)
      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
    • Method Detail

      • initialize

        void initialize()
        Initialize the iteration termination condition (sometimes a no-op)
      • terminate

        boolean terminate​(double lastMiniBatchScore)
        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
        Parameters:
        lastMiniBatchScore - Score of the last minibatch
        Returns:
        whether to terminate or not