Class CustomModelTrainingParameters
- java.lang.Object
-
- software.amazon.awssdk.services.neptunedata.model.CustomModelTrainingParameters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>
@Generated("software.amazon.awssdk:codegen") public final class CustomModelTrainingParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>
Contains custom model training parameters. See Custom models in Neptune ML.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomModelTrainingParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomModelTrainingParameters.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CustomModelTrainingParameters.Builder>serializableBuilderClass()StringsourceS3DirectoryPath()The path to the Amazon S3 location where the Python module implementing your model is located.CustomModelTrainingParameters.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrainingEntryPointScript()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.StringtransformEntryPointScript()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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceS3DirectoryPath
public final 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.- Returns:
- 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.
-
trainingEntryPointScript
public final 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.- Returns:
- 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.
-
transformEntryPointScript
public final 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.- Returns:
- 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.
-
toBuilder
public CustomModelTrainingParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomModelTrainingParameters.Builder,CustomModelTrainingParameters>
-
builder
public static CustomModelTrainingParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomModelTrainingParameters.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-