LinkTabularOutputDatasetConfig Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Represent how to link the output of a run and be promoted as a TabularDataset.

The LinkTabularOutputDatasetConfig allows you to link a file Tabular as output dataset


   workspace = Workspace.from_config()
   experiment = Experiment(workspace, 'output_example')

   output = LinkTabularOutputDatasetConfig('link_output')

   script_run_config = ScriptRunConfig('.', 'link.py', arguments=[output])

   # within link.py
   # from azureml.core import Run, Dataset
   # run = Run.get_context()
   # workspace = run.experiment.workspace
   # dataset = Dataset.get_by_name(workspace, name='dataset_to_link')
   # run.output_datasets['link_output'].link(dataset)

   run = experiment.submit(script_run_config)
   print(run)

Initialize a LinkTabularOutputDatasetConfig.

Inheritance
LinkTabularOutputDatasetConfig

Constructor

LinkTabularOutputDatasetConfig(name=None)

Parameters

Name Description
name
Required
str

The name of the output specific to this run.

Methods

as_input

Specify how to consume the output as an input in subsequent pipeline steps.

as_input

Specify how to consume the output as an input in subsequent pipeline steps.

as_input(name=None)

Parameters

Name Description
name
Required
str

The name of the input specific to the run.

Returns

Type Description

A DatasetConsumptionConfig instance describing how to deliver the input data.