evalml.pipelines.PipelineBase.score

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

Evaluate model performance on current and additional objectives

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

  • y (pd.Series, np.ndarray) – 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