Performance on data subsets
In professional basketball, there are two conferences, the East and the West. Coaches and fans often only care about how teams in their own conference will do this year.
You have been working on an NBA prediction model and would like to determine if the predictions were better for the East or West conference. You added a third array to your data called labels
, which contains an "E" for the East teams, and a "W" for the West. y_test
and predictions
have again been loaded for your use.
Este exercício faz parte do curso
Model Validation in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Find the East conference teams
east_teams = ____ == ____