How to predict customer churn using machine learning