Does model performance improve?
6 new features have been added to the telco DataFrame:
Region_CodeCost_CallTotal_ChargeTotal_MinutesTotal_CallsMin_Call
Will this improve the churn model? Let's find out!
Este exercício faz parte do curso
Marketing Analytics: Predicting Customer Churn in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# 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 = ____(____, ____, ____=____)