evalml.pipelines.ClassificationPipeline.score

ClassificationPipeline.score(X, y, objectives)

Evaluate model performance on current and additional 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) – Non-empty list of objectives to score on

Returns

ordered dictionary of objective scores

Return type

dict