AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon SageMaker Service CreateAutoMLJobV2 API operation.

Syntax

New-SMAutoMLJobV2
-AutoMLJobName <String>
-ModelAccessConfig_AcceptEula <Boolean>
-Transformations_Aggregation <Hashtable>
-CandidateGenerationConfig_AlgorithmsConfig <AutoMLAlgorithmConfig[]>
-ModelDeployConfig_AutoGenerateEndpointName <Boolean>
-AutoMLJobInputDataConfig <AutoMLJobChannel[]>
-TextGenerationJobConfig_BaseModelName <String>
-TextClassificationJobConfig_ContentColumn <String>
-SecurityConfig_EnableInterContainerTrafficEncryption <Boolean>
-ModelDeployConfig_EndpointName <String>
-TabularJobConfig_FeatureSpecificationS3Uri <String>
-TimeSeriesForecastingJobConfig_FeatureSpecificationS3Uri <String>
-Transformations_Filling <Hashtable>
-TimeSeriesForecastingJobConfig_ForecastFrequency <String>
-TimeSeriesForecastingJobConfig_ForecastHorizon <Int32>
-TimeSeriesForecastingJobConfig_ForecastQuantile <String[]>
-TabularJobConfig_GenerateCandidateDefinitionsOnly <Boolean>
-TimeSeriesConfig_GroupingAttributeName <String[]>
-TimeSeriesForecastingJobConfig_HolidayConfig <HolidayConfigAttributes[]>
-TimeSeriesConfig_ItemIdentifierAttributeName <String>
-OutputDataConfig_KmsKeyId <String>
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
-CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxCandidate <Int32>
-CompletionCriteria_MaxCandidate <Int32>
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxCandidate <Int32>
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxCandidate <Int32>
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxCandidate <Int32>
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
-CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
-AutoMLJobObjective_MetricName <AutoMLMetricEnum>
-TabularJobConfig_Mode <AutoMLMode>
-TabularJobConfig_ProblemType <ProblemType>
-RoleArn <String>
-OutputDataConfig_S3OutputPath <String>
-TabularJobConfig_SampleWeightAttributeName <String>
-VpcConfig_SecurityGroupId <String[]>
-VpcConfig_Subnet <String[]>
-Tag <Tag[]>
-TabularJobConfig_TargetAttributeName <String>
-TimeSeriesConfig_TargetAttributeName <String>
-TextClassificationJobConfig_TargetLabelColumn <String>
-TextGenerationJobConfig_TextGenerationHyperParameter <Hashtable>
-TimeSeriesConfig_TimestampAttributeName <String>
-DataSplitConfig_ValidationFraction <Single>
-SecurityConfig_VolumeKmsKeyId <String>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>
-ClientConfig <AmazonSageMakerConfig>

Description

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2. CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility. CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning). Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2. For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig. You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

Parameters

-AutoMLJobInputDataConfig <AutoMLJobChannel[]>
An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:
  • For tabular problem types: S3Prefix, ManifestFile.
  • For image classification: S3Prefix, ManifestFile, AugmentedManifestFile.
  • For text classification: S3Prefix.
  • For time-series forecasting: S3Prefix.
  • For text generation (LLMs fine-tuning): S3Prefix.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-AutoMLJobName <String>
Identifies an Autopilot job. The name must be unique to your account and is case insensitive.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-AutoMLJobObjective_MetricName <AutoMLMetricEnum>
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.The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.
  • For tabular problem types:
    • List of available metrics:
      • Regression: MAE, MSE, R2, RMSE
      • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, Precision, Recall
      • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, PrecisionMacro, RecallMacro
      For a description of each metric, see Autopilot metrics for classification and regression.
    • Default objective metrics:
      • Regression: MSE.
      • Binary classification: F1.
      • Multiclass classification: Accuracy.
  • For image or text classification problem types:
  • For time-series forecasting problem types:
  • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds, ImageClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxCandidate <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxCandidates, ImageClassificationJobConfig_CompletionCriteria_MaxCandidates
-AutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
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).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_ImageClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds, ImageClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds, TextClassificationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxCandidate <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxCandidates, TextClassificationJobConfig_CompletionCriteria_MaxCandidates
-AutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
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).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds, TextClassificationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds, TextGeneration_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxCandidate <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxCandidates, TextGeneration_CompletionCriteria_MaxCandidates
-AutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
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).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds, TextGeneration_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds, TimeSeries_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxCandidate <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxCandidates, TimeSeries_CompletionCriteria_MaxCandidates
-AutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
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).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds, TimeSeries_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds
-CandidateGenerationConfig_AlgorithmsConfig <AutoMLAlgorithmConfig[]>
Stores the configuration information for the selection of algorithms used to train model candidates on tabular data.The list of available algorithms to choose from depends on the training mode set in TabularJobConfig.Mode.
  • AlgorithmsConfig should not be set in AUTO training mode.
  • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for the given training mode.
  • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for the given training mode.
For the list of all algorithms per problem type and training mode, see AutoMLAlgorithmConfig.For more information on each algorithm, see the Algorithm support section in Autopilot developer guide.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_CandidateGenerationConfig_AlgorithmsConfig
-ClientConfig <AmazonSageMakerConfig>
Amazon.PowerShell.Cmdlets.SM.AmazonSageMakerClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-CompletionCriteria_MaxAutoMLJobRuntimeInSecond <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_CompletionCriteria_MaxAutoMLJobRuntimeInSeconds
-CompletionCriteria_MaxCandidate <Int32>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_CompletionCriteria_MaxCandidates
-CompletionCriteria_MaxRuntimePerTrainingJobInSecond <Int32>
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).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_CompletionCriteria_MaxRuntimePerTrainingJobInSeconds
-DataSplitConfig_ValidationFraction <Single>
The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelAccessConfig_AcceptEula <Boolean>
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_ModelAccessConfig_AcceptEula
-ModelDeployConfig_AutoGenerateEndpointName <Boolean>
Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelDeployConfig_EndpointName <String>
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-OutputDataConfig_KmsKeyId <String>
The Key Management Service encryption key ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-OutputDataConfig_S3OutputPath <String>
The Amazon S3 output path. Must be 128 characters or less.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the AutoMLJobName parameter. The -PassThru parameter is deprecated, use -Select '^AutoMLJobName' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-RoleArn <String>
The ARN of the role that is used to access the data.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-SecurityConfig_EnableInterContainerTrafficEncryption <Boolean>
Whether to use traffic encryption between the container layers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SecurityConfig_VolumeKmsKeyId <String>
The key used to encrypt stored data.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'AutoMLJobArn'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.SageMaker.Model.CreateAutoMLJobV2Response). Specifying the name of a property of type Amazon.SageMaker.Model.CreateAutoMLJobV2Response will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-TabularJobConfig_FeatureSpecificationS3Uri <String>
A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job V2. You can input FeatureAttributeNames (optional) in JSON format as shown below: { "FeatureAttributeNames":["col1", "col2", ...] }.You can also specify the data type of the feature (optional) in the format shown below:{ "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }These column keys may not include the target column.In ensembling mode, Autopilot only supports the following data types: numeric, categorical, text, and datetime. In HPO mode, Autopilot can support numeric, categorical, text, datetime, and sequence.If only FeatureDataTypes is provided, the column keys (col1, col2,..) should be a subset of the column names in the input data. If both FeatureDataTypes and FeatureAttributeNames are provided, then the column keys should be a subset of the column names provided in FeatureAttributeNames.The key name FeatureAttributeNames is fixed. The values listed in ["col1", "col2", ...] are case sensitive and should be a list of strings containing unique values that are a subset of the column names in the input data. The list of columns provided must not include the target column.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_FeatureSpecificationS3Uri
-TabularJobConfig_GenerateCandidateDefinitionsOnly <Boolean>
Generates possible candidates without training the models. A model candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_GenerateCandidateDefinitionsOnly
-TabularJobConfig_Mode <AutoMLMode>
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 automatically selects 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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_Mode
-TabularJobConfig_ProblemType <ProblemType>
The type of supervised learning problem available for the model candidates of the AutoML job V2. For more information, see SageMaker Autopilot problem types.You must either specify the type of supervised learning problem in ProblemType and provide the AutoMLJobObjective metric, or none at all.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_ProblemType
-TabularJobConfig_SampleWeightAttributeName <String>
If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation.Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded.Support for sample weights is available in Ensembling mode only.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_SampleWeightAttributeName
-TabularJobConfig_TargetAttributeName <String>
The name of the target variable in supervised learning, usually represented by 'y'.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TabularJobConfig_TargetAttributeName
-Tag <Tag[]>
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-TextClassificationJobConfig_ContentColumn <String>
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextClassificationJobConfig_ContentColumn
-TextClassificationJobConfig_TargetLabelColumn <String>
The name of the column used to provide the class labels. It should not be same as the content column.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextClassificationJobConfig_TargetLabelColumn
-TextGenerationJobConfig_BaseModelName <String>
The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon7BInstruct.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_BaseModelName
-TextGenerationJobConfig_TextGenerationHyperParameter <Hashtable>
The hyperparameters used to configure and optimize the learning process of the base model. You can set any combination of the following hyperparameters for all base models. For more information on each supported hyperparameter, see Optimize the learning process of your text generation models with hyperparameters.
  • "epochCount": The number of times the model goes through the entire training dataset. Its value should be a string containing an integer value within the range of "1" to "10".
  • "batchSize": The number of data samples used in each iteration of training. Its value should be a string containing an integer value within the range of "1" to "64".
  • "learningRate": The step size at which a model's parameters are updated during training. Its value should be a string containing a floating-point value within the range of "0" to "1".
  • "learningRateWarmupSteps": The number of training steps during which the learning rate gradually increases before reaching its target or maximum value. Its value should be a string containing an integer value within the range of "0" to "250".
Here is an example where all four hyperparameters are configured.{ "epochCount":"5", "learningRate":"0.5", "batchSize": "32", "learningRateWarmupSteps": "10" }
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TextGenerationJobConfig_TextGenerationHyperParameters
-TimeSeriesConfig_GroupingAttributeName <String[]>
A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_TimeSeriesConfig_GroupingAttributeNames
-TimeSeriesConfig_ItemIdentifierAttributeName <String>
The name of the column that represents the set of item identifiers for which you want to predict the target value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_TimeSeriesConfig_ItemIdentifierAttributeName
-TimeSeriesConfig_TargetAttributeName <String>
The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_TimeSeriesConfig_TargetAttributeName
-TimeSeriesConfig_TimestampAttributeName <String>
The name of the column indicating a point in time at which the target value of a given item is recorded.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_TimeSeriesConfig_TimestampAttributeName
-TimeSeriesForecastingJobConfig_FeatureSpecificationS3Uri <String>
A URL to the Amazon S3 data source containing additional selected features that complement the target, itemID, timestamp, and grouped columns set in TimeSeriesConfig. When not provided, the AutoML job V2 includes all the columns from the original dataset that are not already declared in TimeSeriesConfig. If provided, the AutoML job V2 only considers these additional columns as a complement to the ones declared in TimeSeriesConfig.You can input FeatureAttributeNames (optional) in JSON format as shown below:{ "FeatureAttributeNames":["col1", "col2", ...] }.You can also specify the data type of the feature (optional) in the format shown below:{ "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }Autopilot supports the following data types: numeric, categorical, text, and datetime.These column keys must not include any column set in TimeSeriesConfig.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_FeatureSpecificationS3Uri
-TimeSeriesForecastingJobConfig_ForecastFrequency <String>
The frequency of predictions in a forecast.Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, 1D indicates every day and 15min indicates every 15 minutes. The value of a frequency must not overlap with the next larger frequency. For example, you must use a frequency of 1H instead of 60min.The valid values for each frequency are the following:
  • Minute - 1-59
  • Hour - 1-23
  • Day - 1-6
  • Week - 1-4
  • Month - 1-11
  • Year - 1
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_ForecastFrequency
-TimeSeriesForecastingJobConfig_ForecastHorizon <Int32>
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the time-steps in the dataset.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_ForecastHorizon
-TimeSeriesForecastingJobConfig_ForecastQuantile <String[]>
The quantiles used to train the model for forecasts at a specified quantile. You can specify quantiles from 0.01 (p1) to 0.99 (p99), by increments of 0.01 or higher. Up to five forecast quantiles can be specified. When ForecastQuantiles is not provided, the AutoML job uses the quantiles p10, p50, and p90 as default.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_ForecastQuantiles
-TimeSeriesForecastingJobConfig_HolidayConfig <HolidayConfigAttributes[]>
The collection of holiday featurization attributes used to incorporate national holiday information into your forecasting model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_HolidayConfig
-Transformations_Aggregation <Hashtable>
A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.The supported aggregation methods are sum (default), avg, first, min, max.Aggregation is only supported for the target column.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_Transformations_Aggregation
-Transformations_Filling <Hashtable>
A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic. You can specify multiple filling methods for a single column.The supported filling methods and their corresponding options are:
  • frontfill: none (Supported only for target column)
  • middlefill: zero, value, median, mean, min, max
  • backfill: zero, value, median, mean, min, max
  • futurefill: zero, value, median, mean, min, max
To set a filling method to a specific value, set the fill parameter to the chosen filling method value (for example "backfill" : "value"), and define the filling value in an additional parameter prefixed with "_value". For example, to set backfill to a value of 2, you must include two parameters: "backfill": "value" and "backfill_value":"2".
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAutoMLProblemTypeConfig_TimeSeriesForecastingJobConfig_Transformations_Filling
-VpcConfig_SecurityGroupId <String[]>
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSecurityConfig_VpcConfig_SecurityGroupIds
-VpcConfig_Subnet <String[]>
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSecurityConfig_VpcConfig_Subnets

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns a System.String object. The service call response (type Amazon.SageMaker.Model.CreateAutoMLJobV2Response) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z