@Generated(value="software.amazon.awssdk:codegen") public final class AutoMLJobObjective extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoMLJobObjective.Builder,AutoMLJobObjective>
Specifies a metric to minimize or maximize as the objective of a job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoMLJobObjective.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AutoMLJobObjective.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AutoMLMetricEnum |
metricName()
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
String |
metricNameAsString()
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoMLJobObjective.Builder> |
serializableBuilderClass() |
AutoMLJobObjective.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AutoMLMetricEnum metricName()
The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.
For the list of all available metrics supported by Autopilot, see Autopilot metrics.
If you do not specify a metric explicitly, the default behavior is to automatically use:
For tabular problem types:
Regression: MSE.
Binary classification: F1.
Multiclass classification: Accuracy.
For image or text classification problem types: Accuracy
If the service returns an enum value that is not available in the current SDK version, metricName will
return AutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricNameAsString().
For the list of all available metrics supported by Autopilot, see Autopilot metrics.
If you do not specify a metric explicitly, the default behavior is to automatically use:
For tabular problem types:
Regression: MSE.
Binary classification: F1.
Multiclass classification: Accuracy.
For image or text classification problem types: Accuracy
AutoMLMetricEnumpublic final String metricNameAsString()
The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.
For the list of all available metrics supported by Autopilot, see Autopilot metrics.
If you do not specify a metric explicitly, the default behavior is to automatically use:
For tabular problem types:
Regression: MSE.
Binary classification: F1.
Multiclass classification: Accuracy.
For image or text classification problem types: Accuracy
If the service returns an enum value that is not available in the current SDK version, metricName will
return AutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricNameAsString().
For the list of all available metrics supported by Autopilot, see Autopilot metrics.
If you do not specify a metric explicitly, the default behavior is to automatically use:
For tabular problem types:
Regression: MSE.
Binary classification: F1.
Multiclass classification: Accuracy.
For image or text classification problem types: Accuracy
AutoMLMetricEnumpublic AutoMLJobObjective.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutoMLJobObjective.Builder,AutoMLJobObjective>public static AutoMLJobObjective.Builder builder()
public static Class<? extends AutoMLJobObjective.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.