evalml.pipelines.PipelineBase.predict

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

Make predictions using selected features.

Parameters
  • X (ww.DataTable, pd.DataFrame, or np.ndarray) – Data of shape [n_samples, n_features]

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

Returns

Predicted values.

Return type

pd.Series