This project demonstrates how to use K-Means Clustering in KNIME Analytics Platform to group respondents/customers based on psychographic survey data.
The workflow:
- Reads survey data from Excel
- Performs clustering using K-Means
- Generates:
- Customer cluster labels
- Cluster centroid summaries
- Exports results to Excel files
This workflow is useful for:
- Customer segmentation
- Market research
- Consumer behavior analysis
- Target marketing strategies
Imports the psychographic survey dataset into KNIME.
https://1drv.ms/f/c/f483042b9735aab9/IgAor9UeCPV3RaXZHMC1fhD-AZESzdtcVALLU7APVUZlYuc?e=T1gbFb
- Reads Excel data
- Each row = one respondent/customer
- Each column = survey variable/statement
A clean dataset ready for clustering.
Performs clustering analysis using the K-Means algorithm.
- Performs K-means clustering on psychographic variables.
- Excludes irrelevant columns like sr.no
- In this we applied 3 cluster solution, we will get 3 customer segments (Disciplined planners, Homebody values, Social trendsetters).
The k-Means node produces two outputs.
Excel Writer (Node 3)
Seperate into clusters
- Original dataset
- Additional cluster column:
- Cluster 0
- Cluster 1
- Cluster 2
| Respondent | Cluster |
|---|---|
| R1 | Cluster 0 |
| R2 | Cluster 1 |
| R3 | Cluster 2 |
- Market segmentation
- Customer profiling
- Target marketing
https://1drv.ms/f/c/f483042b9735aab9/IgAor9UeCPV3RaXZHMC1fhD-AZESzdtcVALLU7APVUZlYuc?e=Us5jjf
Excel Writer (Node 4)
Stores average values (centroids) for each cluster.
Mean values of all variables for every cluster.
| Variable | Cluster 0 | Cluster 1 | Cluster 2 |
|---|---|---|---|
| Fashion Conscious | 4.5 | 2.1 | 3.8 |
| Health Conscious | 1.8 | 4.6 | 3.2 |
Helps identify characteristics of each customer segment.
- Cluster 0 β Fashion-focused customers
- Cluster 1 β Health-conscious customers
- Cluster 2 β Balanced customers
https://1drv.ms/x/c/f483042b9735aab9/IQCwBL9fCuFYQKlFVWAmFx0FAXv_feIFh1X9w4ojhpQwsoM?e=3XiiGC
The workflow helps:
- Identify similar customer groups
- Understand consumer behavior
- Perform psychographic segmentation
- Support marketing decision-making
- Excel Reader imports the data
- k-Means creates customer clusters
- Node 3 stores customer cluster assignments
- Node 4 stores cluster centroids/summary
- The workflow identifies meaningful customer segments for analysis
- KNIME Analytics Platform
- K-Means Clustering
KNIME Workflow - https://1drv.ms/u/c/f483042b9735aab9/IQANv-neYWeHQqpT4cv8GDyjAYWNTEQof6MifmzlESVXnzo?e=gTsKKR
- Open KNIME Analytics Platform
- Import the workflow
- Open the workflow
- Configure file paths if needed
- Execute all nodes
- View exported cluster results
Dhathri Narne