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

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

Overview

Note:

When making an API call, you may pass AutoMLJobCompletionCriteria data as a hash:

{
  max_candidates: 1,
  max_runtime_per_training_job_in_seconds: 1,
  max_auto_ml_job_runtime_in_seconds: 1,
}

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, will not be completed.

Returns:

  • (Integer)


2332
2333
2334
2335
2336
2337
2338
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2332

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.

Returns:

  • (Integer)


2332
2333
2334
2335
2336
2337
2338
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2332

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 used by the action.

Returns:

  • (Integer)


2332
2333
2334
2335
2336
2337
2338
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2332

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