@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HPOObjective extends Object implements Serializable, Cloneable, StructuredPojo
The metric to optimize during hyperparameter optimization (HPO).
| Constructor and Description |
|---|
HPOObjective() |
| Modifier and Type | Method and Description |
|---|---|
HPOObjective |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the metric.
|
String |
getMetricRegex()
A regular expression for finding the metric in the training job logs.
|
String |
getType()
The data type of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setMetricRegex(String metricRegex)
A regular expression for finding the metric in the training job logs.
|
void |
setType(String type)
The data type of the metric.
|
String |
toString()
Returns a string representation of this object.
|
HPOObjective |
withMetricName(String metricName)
The name of the metric.
|
HPOObjective |
withMetricRegex(String metricRegex)
A regular expression for finding the metric in the training job logs.
|
HPOObjective |
withType(String type)
The data type of the metric.
|
public void setType(String type)
The data type of the metric.
type - The data type of the metric.public String getType()
The data type of the metric.
public HPOObjective withType(String type)
The data type of the metric.
type - The data type of the metric.public void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public String getMetricName()
The name of the metric.
public HPOObjective withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public void setMetricRegex(String metricRegex)
A regular expression for finding the metric in the training job logs.
metricRegex - A regular expression for finding the metric in the training job logs.public String getMetricRegex()
A regular expression for finding the metric in the training job logs.
public HPOObjective withMetricRegex(String metricRegex)
A regular expression for finding the metric in the training job logs.
metricRegex - A regular expression for finding the metric in the training job logs.public String toString()
toString in class ObjectObject.toString()public HPOObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.