Class: Aws::SageMaker::Types::AutoMLJobObjective

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

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

Returns:

  • (String)


2284
2285
2286
2287
2288
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2284

class AutoMLJobObjective < Struct.new(
  :metric_name)
  SENSITIVE = []
  include Aws::Structure
end