@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLJobObjective extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a metric to minimize or maximize as the objective of a job.
| Constructor and Description |
|---|
AutoMLJobObjective() |
| Modifier and Type | Method and Description |
|---|---|
AutoMLJobObjective |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMetricName(String metricName)
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLJobObjective |
withMetricName(AutoMLMetricEnum metricName)
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
AutoMLJobObjective |
withMetricName(String metricName)
The name of the objective metric used to measure the predictive quality of a machine learning system.
|
public void setMetricName(String 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
For time-series forecasting problem types: AverageWeightedQuantileLoss
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
For time-series forecasting problem types: AverageWeightedQuantileLoss
AutoMLMetricEnumpublic String getMetricName()
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
For time-series forecasting problem types: AverageWeightedQuantileLoss
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
For time-series forecasting problem types: AverageWeightedQuantileLoss
AutoMLMetricEnumpublic AutoMLJobObjective withMetricName(String 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
For time-series forecasting problem types: AverageWeightedQuantileLoss
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
For time-series forecasting problem types: AverageWeightedQuantileLoss
AutoMLMetricEnumpublic AutoMLJobObjective withMetricName(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
For time-series forecasting problem types: AverageWeightedQuantileLoss
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
For time-series forecasting problem types: AverageWeightedQuantileLoss
AutoMLMetricEnumpublic String toString()
toString in class ObjectObject.toString()public AutoMLJobObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.