evalml.pipelines.PipelineBase.predict

PipelineBase.predict(X, objective=None)[source]

Make predictions using selected features.

Parameters
  • X (pd.DataFrame or np.array) – data of shape [n_samples, n_features]

  • objective (Object or string) – the objective to use to make predictions

Returns

estimated labels

Return type

pd.Series