AutoMLJobObjective - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AutoMLJobObjective

Specifies a metric to minimize or maximize as the objective of a job.

Contents

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

Type: String

Valid Values: Accuracy | MSE | F1 | F1macro | AUC | RMSE | MAE | R2 | BalancedAccuracy | Precision | PrecisionMacro | Recall | RecallMacro | MAPE | MASE | WAPE | AverageWeightedQuantileLoss

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: