Memuat
Memuat
Spot customers about to leave before they actually go.
1 views
This project builds a decision tree that predicts which subscription customers will leave, using contract, complaint and payment data. The model is tested with 10-fold cross validation and read through accuracy, AUC, and the most influential attributes.

Read CSV loads data_langganan.csv (3,000 customers). In the column settings, id_pelanggan is the id and berhenti is the label of binominal type (yes/no).
Remap Binominals sets "ya" (yes) as the positive class and "tidak" (no) as negative, so precision and recall measure how well leavers are found.
Multiply makes two copies of the data: one for cross validation and one for computing attribute weights.
Cross Validation with 10 folds and stratified sampling. In the Training part place Decision Tree (gain ratio criterion, maximal depth 5, pruning on).
Apply Model applies the tree to the test fold, then Performance (Binominal Classification) computes accuracy, AUC, precision, recall, F-measure and kappa.
Weight by Information Gain Ratio scores every attribute from 0 to 1 so you can see which factors best separate leavers from stayers.
Performance to Data and Weights to Data turn measures and weights into tables; three Write CSV operators save them together with the test-fold predictions.
data_langganan.csv
3,000 rows · 11 columns
3,000 fictional customers of an internet subscription service: tenure, plan, contract type, fee, complaints, usage, payment method, late payments, and churn status.
Ready-to-run RapidMiner process (.rmp); CSV dataset with data dictionary; Practice guide and exercises (PDF/MD); Step-by-step video tutorial.
Not necessarily. The project is rated "beginner", and every step of the process is explained so you can follow how the data becomes a result.
Yes. Swap the dataset in the first step and adjust the attribute roles; the rest of the process stays the same. If you would like us to adapt it for you, message us on WhatsApp.
The project costs US$17. Use the "Buy via WhatsApp" button on this page; the project files are delivered after payment is confirmed.
Found a problem or have a suggestion for this project? Tell us on WhatsApp
Back to RapidMiner portfolio