Baseline Model Churm_-_03_-_BaseLine_Model.ipynb

Now that you have some general understanding of the dataset that you are working with, we can start to think about modelling.

Train/Test split

Since we want to have an unbiased measurement of our model quality we perform the usual train/test spilt, with two slight modifications.

1
2
3
from sklearn.model_selection import train_test_split

df_train, df_test = train_test_split(df, stratify=df.Churn, test_size=.30, random_state=SEED)

Baseline Model