Interface EarlyStoppingListener<T extends Model>


  • public interface EarlyStoppingListener<T extends Model>
    • Method Detail

      • onStart

        void onStart​(EarlyStoppingConfiguration<T> esConfig,
                     T net)
        Method to be called when early stopping training is first started
      • onEpoch

        void onEpoch​(int epochNum,
                     double score,
                     EarlyStoppingConfiguration<T> esConfig,
                     T net)
        Method that is called at the end of each epoch completed during early stopping training
        Parameters:
        epochNum - The number of the epoch just completed (starting at 0)
        score - The score calculated
        esConfig - Configuration
        net - Network (current)
      • onCompletion

        void onCompletion​(EarlyStoppingResult<T> esResult)
        Method that is called at the end of early stopping training
        Parameters:
        esResult - The early stopping result. Provides details of why early stopping training was terminated, etc