Class HpInt

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      HpInt​(java.lang.String name, int lower, int upper)
      Constructs a HpInt.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer random()
      Returns a random value for the hyperparameter for a range of a fixed value if it is a HpVal.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HpInt

        public HpInt​(java.lang.String name,
                     int lower,
                     int upper)
        Constructs a HpInt.
        Parameters:
        name - the name of the hyperparameter
        lower - the lower bound (inclusive)
        upper - the upper bound (exclusive)
    • Method Detail

      • random

        public java.lang.Integer random()
        Returns a random value for the hyperparameter for a range of a fixed value if it is a HpVal.
        Specified by:
        random in class Hyperparameter<java.lang.Integer>
        Returns:
        a random value for the hyperparameter for a range of a fixed value if it is a HpVal
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object