1. Learn
  2. /
  3. Courses
  4. /
  5. Marketing Analytics: Predicting Customer Churn in Python

Exercise

Computing other metrics

In addition to accuracy, let's also compute the F1 score of this new model to get a better picture of model performance.

A 70-30 train-test split has already been done for you, and all necessary modules have been imported.

Instructions

100 XP
  • Predict the labels of the test set.
  • Print the F1 score.