socceraction.vaep.VAEP.score

VAEP.score(X, y)

Evaluate the fit of the model on the given test data and labels.

Parameters:
  • X (pd.DataFrame) – Feature representation of the game states.

  • y (pd.DataFrame) – Scoring and conceding labels for each game state.

Raises:

NotFittedError – If the model is not fitted yet.

Returns:

score – The Brier and AUROC scores for both binary classification problems.

Return type:

dict