AutoMLPipeline Class

Used to hold pipeline responses.

Create an AutoMLPipeline object that wraps pipeline metadata.

Inheritance
builtins.object
AutoMLPipeline

Constructor

AutoMLPipeline(run_context: AutoMLAbstractRunContext, pipeline_script: str, pipeline_id: str, training_size: float | None = None, predicted_time: float | None = None)

Parameters

Name Description
run_context
Required

the child run context for this pipeline

pipeline_script
Required

a string representing the pipeline to be run

pipeline_id
Required

a hash string used to identify this pipeline

training_size

a float in the range (0.0, 1.0] describing what portion of the data should be used during training. If None provided, the full dataset is used.

default value: None
predicted_time

a float that describes the expected number of seconds needed to run this pipeline.

default value: None

Attributes

is_ensemble_pipeline

Check whether this pipeline is an ensemble pipeline.

Returns

Type Description

True if this pipeline is an ensemble pipeline, false otherwise

training_percent

Return the percentage of data that will be used during training.

Returns

Type Description

a percentage value from 0 to 100 inclusive