public class HpInt extends Hyperparameter<java.lang.Integer>
Hyperparameter for an integer.name| Constructor and Description |
|---|
HpInt(java.lang.String name,
int lower,
int upper)
Constructs a
HpInt. |
| Modifier and Type | Method and 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() |
getNamepublic HpInt(java.lang.String name,
int lower,
int upper)
HpInt.name - the name of the hyperparameterlower - the lower bound (inclusive)upper - the upper bound (exclusive)public java.lang.Integer random()
HpVal.random in class Hyperparameter<java.lang.Integer>HpValpublic java.lang.String toString()
toString in class java.lang.Object