1. 学ぶ
  2. /
  3. コース
  4. /
  5. Marketing Analytics: Predicting Customer Churn in Python

Connected

演習

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.

指示

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