evalml.pipelines.ClassificationPipeline.score

ClassificationPipeline.score(X, y, objectives)[source]

Evaluate model performance on objectives

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

  • y (pd.Series) – true labels of length [n_samples]

  • objectives (list) – list of objectives to score

Returns

ordered dictionary of objective scores

Return type

dict