evalml.pipelines.RegressionPipeline.score

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

Evaluate model performance on current and additional objectives

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

  • y (ww.DataColumn, pd.Series, or np.ndarray) – True values of length [n_samples]

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

Returns

Ordered dictionary of objective scores

Return type

dict