CommencerCommencer gratuitement

Does model performance improve?

6 new features have been added to the telco DataFrame:

  • Region_Code
  • Cost_Call
  • Total_Charge
  • Total_Minutes
  • Total_Calls
  • Min_Call

Will this improve the churn model? Let's find out!

Cet exercice fait partie du cours

Marketing Analytics: Predicting Customer Churn in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Import necessary modules
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier

# Create training and testing sets
X_train, X_test, y_train, y_test = ____(____, ____, ____=____)
Modifier et exécuter le code