Class: Aws::SageMaker::Types::AutoMLJobCompletionCriteria

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

Overview

How long a job is allowed to run, or how many candidates a job is allowed to generate.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_auto_ml_job_runtime_in_secondsInteger

The maximum runtime, in seconds, an AutoML job has to complete.

If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

Returns:

  • (Integer)


2345
2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2345

class AutoMLJobCompletionCriteria < Struct.new(
  :max_candidates,
  :max_runtime_per_training_job_in_seconds,
  :max_auto_ml_job_runtime_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#max_candidatesInteger

The maximum number of times a training job is allowed to run.

For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

Returns:

  • (Integer)


2345
2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2345

class AutoMLJobCompletionCriteria < Struct.new(
  :max_candidates,
  :max_runtime_per_training_job_in_seconds,
  :max_auto_ml_job_runtime_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#max_runtime_per_training_job_in_secondsInteger

The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

Returns:

  • (Integer)


2345
2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2345

class AutoMLJobCompletionCriteria < Struct.new(
  :max_candidates,
  :max_runtime_per_training_job_in_seconds,
  :max_auto_ml_job_runtime_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end