Interface CustomModelTrainingParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>,SdkBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>,SdkPojo
- Enclosing class:
- CustomModelTrainingParameters
public static interface CustomModelTrainingParameters.Builder extends SdkPojo, CopyableBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomModelTrainingParameters.BuildersourceS3DirectoryPath(String sourceS3DirectoryPath)The path to the Amazon S3 location where the Python module implementing your model is located.CustomModelTrainingParameters.BuildertrainingEntryPointScript(String trainingEntryPointScript)The name of the entry point in your module of a script that performs model training and takes hyperparameters as command-line arguments, including fixed hyperparameters.CustomModelTrainingParameters.BuildertransformEntryPointScript(String transformEntryPointScript)The name of the entry point in your module of a script that should be run after the best model from the hyperparameter search has been identified, to compute the model artifacts necessary for model deployment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceS3DirectoryPath
CustomModelTrainingParameters.Builder sourceS3DirectoryPath(String sourceS3DirectoryPath)
The path to the Amazon S3 location where the Python module implementing your model is located. This must point to a valid existing Amazon S3 location that contains, at a minimum, a training script, a transform script, and a
model-hpo-configuration.jsonfile.- Parameters:
sourceS3DirectoryPath- The path to the Amazon S3 location where the Python module implementing your model is located. This must point to a valid existing Amazon S3 location that contains, at a minimum, a training script, a transform script, and amodel-hpo-configuration.jsonfile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingEntryPointScript
CustomModelTrainingParameters.Builder trainingEntryPointScript(String trainingEntryPointScript)
The name of the entry point in your module of a script that performs model training and takes hyperparameters as command-line arguments, including fixed hyperparameters. The default is
training.py.- Parameters:
trainingEntryPointScript- The name of the entry point in your module of a script that performs model training and takes hyperparameters as command-line arguments, including fixed hyperparameters. The default istraining.py.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformEntryPointScript
CustomModelTrainingParameters.Builder transformEntryPointScript(String transformEntryPointScript)
The name of the entry point in your module of a script that should be run after the best model from the hyperparameter search has been identified, to compute the model artifacts necessary for model deployment. It should be able to run with no command-line arguments.The default is
transform.py.- Parameters:
transformEntryPointScript- The name of the entry point in your module of a script that should be run after the best model from the hyperparameter search has been identified, to compute the model artifacts necessary for model deployment. It should be able to run with no command-line arguments.The default istransform.py.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-