Class: Aws::SageMaker::Types::AutoMLJobConfig

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 AutoMLJobConfig data as a hash:

{
  completion_criteria: {
    max_candidates: 1,
    max_runtime_per_training_job_in_seconds: 1,
    max_auto_ml_job_runtime_in_seconds: 1,
  },
  security_config: {
    volume_kms_key_id: "KmsKeyId",
    enable_inter_container_traffic_encryption: false,
    vpc_config: {
      security_group_ids: ["SecurityGroupId"], # required
      subnets: ["SubnetId"], # required
    },
  },
  data_split_config: {
    validation_fraction: 1.0,
  },
  candidate_generation_config: {
    feature_specification_s3_uri: "S3Uri",
  },
  mode: "AUTO", # accepts AUTO, ENSEMBLING, HYPERPARAMETER_TUNING
}

A collection of settings used for an AutoML job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#candidate_generation_configTypes::AutoMLCandidateGenerationConfig

The configuration for generating a candidate for an AutoML job (optional).



2420
2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2420

class AutoMLJobConfig < Struct.new(
  :completion_criteria,
  :security_config,
  :data_split_config,
  :candidate_generation_config,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#completion_criteriaTypes::AutoMLJobCompletionCriteria

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



2420
2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2420

class AutoMLJobConfig < Struct.new(
  :completion_criteria,
  :security_config,
  :data_split_config,
  :candidate_generation_config,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#data_split_configTypes::AutoMLDataSplitConfig

The configuration for splitting the input training dataset.

Type: AutoMLDataSplitConfig



2420
2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2420

class AutoMLJobConfig < Struct.new(
  :completion_criteria,
  :security_config,
  :data_split_config,
  :candidate_generation_config,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones.

The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING mode.

The HYPERPARAMETER_TUNING (HPO) mode uses the best hyperparameters to train the best version of a model. HPO will automatically select an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING mode.

Returns:

  • (String)


2420
2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2420

class AutoMLJobConfig < Struct.new(
  :completion_criteria,
  :security_config,
  :data_split_config,
  :candidate_generation_config,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#security_configTypes::AutoMLSecurityConfig

The security configuration for traffic encryption or Amazon VPC settings.



2420
2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2420

class AutoMLJobConfig < Struct.new(
  :completion_criteria,
  :security_config,
  :data_split_config,
  :candidate_generation_config,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end