Class CycleSchedule

    • Constructor Detail

      • CycleSchedule

        public CycleSchedule​(ScheduleType scheduleType,
                             double initialLearningRate,
                             double maxLearningRate,
                             int cycleLength,
                             int annealingLength,
                             double annealingDecay)
      • CycleSchedule

        public CycleSchedule​(ScheduleType scheduleType,
                             double maxLearningRate,
                             int cycleLength)
    • Method Detail

      • valueAt

        public double valueAt​(int iteration,
                              int epoch)
        Specified by:
        valueAt in interface ISchedule
        Parameters:
        iteration - Current iteration number. Starts at 0
        epoch - Current epoch number. Starts at 0
        Returns:
        Value at the current iteration/epoch for this schedule