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.
Cet exercice fait partie du cours
Model Validation in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Find the East conference teams
east_teams = ____ == ____