@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FinalHyperParameterTuningJobObjectiveMetric extends Object implements Serializable, Cloneable, StructuredPojo
Shows the latest objective metric emitted by 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()
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
|
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)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
|
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)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
|
FinalHyperParameterTuningJobObjectiveMetric |
withType(String type)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
|
FinalHyperParameterTuningJobObjectiveMetric |
withValue(Float value)
The value of the objective metric.
|
public FinalHyperParameterTuningJobObjectiveMetric()
public void setType(String type)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
type
- Select if you want to minimize or maximize the objective metric during hyperparameter tuning.HyperParameterTuningJobObjectiveType
public String getType()
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
HyperParameterTuningJobObjectiveType
public FinalHyperParameterTuningJobObjectiveMetric withType(String type)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
type
- Select if you want to minimize or maximize the objective metric during hyperparameter tuning.HyperParameterTuningJobObjectiveType
public FinalHyperParameterTuningJobObjectiveMetric withType(HyperParameterTuningJobObjectiveType type)
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
type
- Select if you want to minimize or maximize the objective metric during hyperparameter tuning.HyperParameterTuningJobObjectiveType
public void setMetricName(String metricName)
The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
metricName
- The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm.
See the metrics for
XGBoost as an example. You can also use a custom algorithm for training and define your own metrics.
For more information, see Define metrics and environment variables.public String getMetricName()
The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
public FinalHyperParameterTuningJobObjectiveMetric withMetricName(String metricName)
The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
metricName
- The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm.
See the metrics for
XGBoost as an example. You can also use a custom algorithm for training and define your own metrics.
For more information, see Define metrics and environment variables.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.