evalml.pipelines.PipelineBase.score

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

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) – Target data of length [n_samples]

  • objectives (list) – Non-empty list of objectives to score on

Returns

Ordered dictionary of objective scores

Return type

dict