Get startedGet started for free

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.

This exercise is part of the course

Model Validation in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Find the East conference teams
east_teams = ____ == ____
Edit and Run Code