evalml.pipelines.PipelineBase

class evalml.pipelines.PipelineBase(parameters, random_state=None, random_seed=0)[source]

Base class for all pipelines.

name = 'Pipeline Base'
custom_name = None
problem_type = None

Instance attributes

feature_importance

Return importance associated with each feature.

parameters

Returns parameter dictionary for this pipeline

Methods:

__init__

Machine learning pipeline made out of transformers and a estimator.

clone

Constructs a new pipeline with the same components, parameters, and random state.

compute_estimator_features

Transforms the data by applying all pre-processing components.

describe

Outputs pipeline details including component parameters

fit

Build a model

get_component

Returns component by name

graph

Generate an image representing the pipeline graph

graph_feature_importance

Generate a bar graph of the pipeline’s feature importance

load

Loads pipeline at file path

predict

Make predictions using selected features.

save

Saves pipeline at file path

score

Evaluate model performance on current and additional objectives

Class Inheritance

Inheritance diagram of PipelineBase