@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HyperParameterTuningJobConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for a hyperparameter tuning job. You specify this object in the CreatePredictor request.
A hyperparameter is a parameter that governs the model training process. You set hyperparameters before training starts, unlike model parameters, which are determined during training. The values of the hyperparameters effect which values are chosen for the model parameters.
In a hyperparameter tuning job, Amazon Forecast chooses the set of hyperparameter values that optimize a specified metric. Forecast accomplishes this by running many training jobs over a range of hyperparameter values. The optimum set of values depends on the algorithm, the training data, and the specified metric objective.
Constructor and Description |
---|
HyperParameterTuningJobConfig() |
Modifier and Type | Method and Description |
---|---|
HyperParameterTuningJobConfig |
clone() |
boolean |
equals(Object obj) |
ParameterRanges |
getParameterRanges()
Specifies the ranges of valid values for the hyperparameters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setParameterRanges(ParameterRanges parameterRanges)
Specifies the ranges of valid values for the hyperparameters.
|
String |
toString()
Returns a string representation of this object.
|
HyperParameterTuningJobConfig |
withParameterRanges(ParameterRanges parameterRanges)
Specifies the ranges of valid values for the hyperparameters.
|
public void setParameterRanges(ParameterRanges parameterRanges)
Specifies the ranges of valid values for the hyperparameters.
parameterRanges
- Specifies the ranges of valid values for the hyperparameters.public ParameterRanges getParameterRanges()
Specifies the ranges of valid values for the hyperparameters.
public HyperParameterTuningJobConfig withParameterRanges(ParameterRanges parameterRanges)
Specifies the ranges of valid values for the hyperparameters.
parameterRanges
- Specifies the ranges of valid values for the hyperparameters.public String toString()
toString
in class Object
Object.toString()
public HyperParameterTuningJobConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.