evalml.pipelines.ModeBaselineBinaryPipeline

Inheritance diagram of ModeBaselineBinaryPipeline
class evalml.pipelines.ModeBaselineBinaryPipeline(parameters, random_state=0)[source]

“Mode Baseline Pipeline for binary classification

name = 'Mode Baseline Binary Classification Pipeline'
custom_name = 'Mode Baseline Binary Classification Pipeline'
summary = 'Baseline Classifier'
component_graph = ['Baseline Classifier']
problem_type = 'binary'
model_family = 'baseline'
hyperparameters = {'Baseline Classifier': {}}
custom_hyperparameters = {'strategy': ['mode']}

Instance attributes

feature_importances

Return feature importances.

parameters

Returns parameter dictionary for this pipeline

threshold

Methods:

__init__

Machine learning pipeline made out of transformers and a estimator.

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 importances

load

Loads pipeline at file path

predict

Make predictions using selected features.

predict_proba

Make probability estimates for labels.

save

Saves pipeline at file path

score

Evaluate model performance on objectives