public final class HpSet extends Hyperparameter<HpSet>
Hyperparameters.name| Constructor and Description |
|---|
HpSet(java.lang.String name)
Cosntructs a new empty
HpSet. |
HpSet(java.lang.String name,
java.util.List<Hyperparameter<?>> hyperParams)
Cosntructs a new
HpSet. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Hyperparameter<?> hparam)
Adds a hyperparameter to the set.
|
Hyperparameter<?> |
getHParam(java.lang.String name)
Returns the hyperparameter in the set with the given name.
|
HpSet |
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 HpSet(java.lang.String name,
java.util.List<Hyperparameter<?>> hyperParams)
HpSet.name - the name of the hyperparameter sethyperParams - the included hyperparameters in the setpublic HpSet(java.lang.String name)
HpSet.name - the name of the hyperparameter setpublic void add(Hyperparameter<?> hparam)
hparam - the hyperparameter to addpublic Hyperparameter<?> getHParam(java.lang.String name)
name - the name of the hyperparameter to returnpublic HpSet random()
HpVal.random in class Hyperparameter<HpSet>HpValpublic java.lang.String toString()
toString in class java.lang.Object