Memuat
Memuat
Group 1,500 customers into valuable segments with K-Means.
0 views
This project groups store customers by how recently they bought (Recency), how often (Frequency), and how much they spent (Monetary). The result is four segments ready for tailored promotion strategies.

Use Read CSV to load transaksi_pelanggan.csv (1,500 rows). Make sure the numeric columns are read as numbers.
With Set Role, make id_pelanggan the id role so it is not used for clustering but stays in the output.
Select Attributes keeps only recency_hari, frekuensi, and monetari_rp. City and age are left out so segments reflect purchasing behaviour only.
Choose the Z-transformation method. Without it, the rupiah column (millions) would dominate distances and overpower the other columns.
Set k = 4, max runs = 10, and turn on determine good start values. The operator adds a cluster column to every customer.
Cluster Distance Performance computes the average distance to the centroid and the Davies-Bouldin index. The smaller both are, the tighter and better separated the clusters.
Extract Cluster Prototypes turns the model into a centroid table (standardised R, F, M) used to name the segments.
Three Write CSV operators save the segmented customers, centroids, and quality measures to the results folder for use in Excel.
transaksi_pelanggan.csv
1,500 rows · 6 columns
Purchasing behaviour summary of 1,500 fictional store customers: days since last purchase, number of transactions, total spend, city, and age.
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