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 ejercicio forma parte del curso
Model Validation in Python
Ejercicio interactivo práctico
Prueba este ejercicio completando el código de muestra.
# Find the East conference teams
east_teams = ____ == ____