@Generated(value="software.amazon.awssdk:codegen") public final class HPOObjective extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HPOObjective.Builder,HPOObjective>
The metric to optimize during hyperparameter optimization (HPO).
Amazon Personalize doesn't support configuring the hpoObjective at this time.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HPOObjective.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HPOObjective.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
The name of the metric.
|
String |
metricRegex()
A regular expression for finding the metric in the training job logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HPOObjective.Builder> |
serializableBuilderClass() |
HPOObjective.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String type()
The type of the metric. Valid values are Maximize and Minimize.
Maximize and Minimize.public final String metricName()
The name of the metric.
public final String metricRegex()
A regular expression for finding the metric in the training job logs.
public HPOObjective.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HPOObjective.Builder,HPOObjective>public static HPOObjective.Builder builder()
public static Class<? extends HPOObjective.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.