update_estimator_from_task: Update training job of the estimator from a task in the DAG

View source: R/workflow_airflow.R

update_estimator_from_taskR Documentation

Update training job of the estimator from a task in the DAG

Description

Update training job of the estimator from a task in the DAG

Usage

update_estimator_from_task(estimator, task_id, task_type)

Arguments

estimator

(sagemaker.estimator.EstimatorBase): The estimator to update

task_id

(str): The task id of any airflow.contrib.operators.SageMakerTrainingOperator or airflow.contrib.operators.SageMakerTuningOperator that generates training jobs in the DAG.

task_type

(str): Whether the task is from SageMakerTrainingOperator or SageMakerTuningOperator. Values can be 'training', 'tuning' or None (which means training job is not from any task).


DyfanJones/sagemaker-r-workflow documentation built on April 3, 2022, 11:28 p.m.