evalml.pipelines.XGBoostPipeline.score

XGBoostPipeline.score(X, y, other_objectives=None)

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]

  • other_objectives (list) – list of other objectives to score

Returns

score, ordered dictionary of other objective scores

Return type

float, dict