evalml.pipelines.PipelineBase.clone

PipelineBase.clone(random_state=0)[source]

Constructs a new pipeline with the same parameters and components.

Parameters

random_state (int) – the value to seed the random state with. Can also be a RandomState instance. Defaults to 0.

Returns

A new instance of this pipeline with identical parameters and components