@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FinalHyperParameterTuningJobObjectiveMetric extends Object implements Serializable, Cloneable, StructuredPojo
Shows the final value for the objective metric for a training job that was launched by a hyperparameter tuning job.
You define the objective metric in the HyperParameterTuningJobObjective
parameter of
HyperParameterTuningJobConfig.
Constructor and Description |
---|
FinalHyperParameterTuningJobObjectiveMetric() |
Modifier and Type | Method and Description |
---|---|
FinalHyperParameterTuningJobObjectiveMetric |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the objective metric.
|
String |
getType()
Whether to minimize or maximize the objective metric.
|
Float |
getValue()
The value of the objective metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the objective metric.
|
void |
setType(String type)
Whether to minimize or maximize the objective metric.
|
void |
setValue(Float value)
The value of the objective metric.
|
String |
toString()
Returns a string representation of this object.
|
FinalHyperParameterTuningJobObjectiveMetric |
withMetricName(String metricName)
The name of the objective metric.
|
FinalHyperParameterTuningJobObjectiveMetric |
withType(HyperParameterTuningJobObjectiveType type)
Whether to minimize or maximize the objective metric.
|
FinalHyperParameterTuningJobObjectiveMetric |
withType(String type)
Whether to minimize or maximize the objective metric.
|
FinalHyperParameterTuningJobObjectiveMetric |
withValue(Float value)
The value of the objective metric.
|
public FinalHyperParameterTuningJobObjectiveMetric()
public void setType(String type)
Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.
type
- Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.HyperParameterTuningJobObjectiveType
public String getType()
Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.
HyperParameterTuningJobObjectiveType
public FinalHyperParameterTuningJobObjectiveMetric withType(String type)
Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.
type
- Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.HyperParameterTuningJobObjectiveType
public FinalHyperParameterTuningJobObjectiveMetric withType(HyperParameterTuningJobObjectiveType type)
Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.
type
- Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.HyperParameterTuningJobObjectiveType
public void setMetricName(String metricName)
The name of the objective metric.
metricName
- The name of the objective metric.public String getMetricName()
The name of the objective metric.
public FinalHyperParameterTuningJobObjectiveMetric withMetricName(String metricName)
The name of the objective metric.
metricName
- The name of the objective metric.public void setValue(Float value)
The value of the objective metric.
value
- The value of the objective metric.public Float getValue()
The value of the objective metric.
public FinalHyperParameterTuningJobObjectiveMetric withValue(Float value)
The value of the objective metric.
value
- The value of the objective metric.public String toString()
toString
in class Object
Object.toString()
public FinalHyperParameterTuningJobObjectiveMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.