
CustomerID column as it is not a predictive feature.Spend_per_Tenure = Total Spend / (Tenure + 1)SupportCalls_per_Tenure = Support Calls / (Tenure + 1)Usage_per_Tenure = Usage Frequency / (Tenure + 1)Age, Tenure, Usage Frequency, Support Calls, Payment Delay, Total Spend, Last Interaction, Churn) were converted to int64.Gender, Subscription Type, and Contract Length were converted into categorical variables for better compatibility with machine learning models.(X_train_scaled.shape[1],)ReLU activationDropout(30%)binary_crossentropy99.26%0.999799.58%0.99970.01) added to dense layers98.82% (slightly lower than Model 2)0.9984GridSearchCV to optimize:n_estimators: [100, 300, 500]max_depth: [4, 6, 8]learning_rate: [0.01, 0.05, 0.1]min_child_weight: [1, 3, 5]gamma: [0, 1, 5]subsample: [0.8, 1.0]colsample_bytree: [0.8, 1.0]99.92%1.0000xgb_tuned.joblibPosted May 7, 2025
Analyzed and predicted customer churn using machine learning models.
0
0