evalml.automl.AutoMLSearch.get_pipeline

AutoMLSearch.get_pipeline(pipeline_id, random_state=0)[source]

Given the ID of a pipeline training result, returns an untrained instance of the specified pipeline initialized with the parameters used to train that pipeline during automl search.

Parameters
  • pipeline_id (int) – pipeline to retrieve

  • random_state (int, np.random.RandomState) – The random seed/state. Defaults to 0.

Returns

untrained pipeline instance associated with the provided ID

Return type

PipelineBase