Skip to content

CustomModelTrainingParameters

Source code in docs_src/capo_neptunedata/types/custom_model_training_parameters.py
class CustomModelTrainingParameters(TypedDict, closed=True):
    source_s3_directory_path: "str"
    """<p>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 <code>model-hpo-configuration.json</code> file.</p>"""
    training_entry_point_script: NotRequired["str"]
    """<p>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 <code>training.py</code>.</p>"""
    transform_entry_point_script: NotRequired["str"]
    """<p>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 <code>transform.py</code>.</p>"""

source_s3_directory_path instance-attribute

source_s3_directory_path: str

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.json file.

training_entry_point_script instance-attribute

training_entry_point_script: NotRequired[str]

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.

transform_entry_point_script instance-attribute

transform_entry_point_script: NotRequired[str]

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.