evalml.pipelines.ClassificationPipeline.predict

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

Make predictions using selected features.

Parameters
  • X (pd.DataFrame, or np.ndarray) – 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