Class CosineTracker.Builder

  • Enclosing class:
    CosineTracker

    public static final class CosineTracker.Builder
    extends java.lang.Object
    The Builder to construct an CosineTracker object.
    • Method Detail

      • setBaseValue

        public CosineTracker.Builder setBaseValue​(float baseValue)
        Sets the initial value after no steps.
        Parameters:
        baseValue - the initial value
        Returns:
        this Builder
      • optFinalValue

        public CosineTracker.Builder optFinalValue​(float finalValue)
        Sets the final value that the learning rate will remain constant as after the specified max number of updates.
        Parameters:
        finalValue - the final value
        Returns:
        this Builder
      • setMaxUpdates

        public CosineTracker.Builder setMaxUpdates​(int maxUpdates)
        Sets the maximum number of updates after which the value should remain constant.
        Parameters:
        maxUpdates - the maximum number of updates after which the value should remain constant
        Returns:
        this Builder