Skip to main content

ml_model_training_jobs

Creates, updates, deletes, gets or lists a ml_model_training_jobs resource.

Overview

Nameml_model_training_jobs
TypeResource
Idaws.neptunedata.ml_model_training_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of this model-training job.
hpo_jobobjectThe HPO job.
ml_modelsarrayA list of the configurations of the ML models being used.
model_transform_jobobjectThe model transform job.
processing_jobobjectThe data processing job.
statusstringThe status of the model training job.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ml_model_training_jobselectid, regionneptuneIamRoleArnRetrieves information about a Neptune ML model training job. See Model training using the modeltraining command. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTrainingJobStatus IAM action in that cluster.
list_ml_model_training_jobsselectregionmaxItems, neptuneIamRoleArnLists Neptune ML model-training jobs. See Model training using the modeltraining command. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:ListMLModelTrainingJobs IAM action in that cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier of the model-training job to retrieve.
regionstringAWS region (default: us-east-1)
maxItemsintegerThe maximum number of items to return (from 1 to 1024; the default is 10).
neptuneIamRoleArnstringThe ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.

SELECT examples

Retrieves information about a Neptune ML model training job. See Model training using the modeltraining command. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTrainingJobStatus IAM action in that cluster.

SELECT
id,
hpo_job,
ml_models,
model_transform_job,
processing_job,
status
FROM aws.neptunedata.ml_model_training_jobs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND neptuneIamRoleArn = '{{ neptuneIamRoleArn }}'
;