Class Hyperparameter<T>
java.lang.Object
ai.djl.training.hyperparameter.param.Hyperparameter<T>
- Type Parameters:
T
- the type of the hyperparameter
- Direct Known Subclasses:
HpCategorical
,HpFloat
,HpInt
,HpSet
,HpVal
A class representing an input to the network that can't be differentiated.
Some hyperparameters include learning rates, network sizes and shapes, activation choices, and
model selection. In order to evaluate a set of hyperparameters, the only way is to fully train
your model using those choices of hyperparameters. So, the full training loop involves training
the model a number of times using different choices of hyperparameters. This can be mostly
automated by using a HpOptimizer
.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHyperparameter
(String name) Constructs a hyperparameter with the given name. -
Method Summary
-
Field Details
-
name
-
-
Constructor Details
-
Hyperparameter
Constructs a hyperparameter with the given name.- Parameters:
name
- the name of the hyperparameter
-
-
Method Details