Question
A wholesale customer dataset is available in the homework folder. The dataset refers to clients of a wholesale distributor. It includes the annual spending in
A wholesale customer dataset is available in the homework folder. The dataset refers to clients of a wholesale distributor. It includes the annual spending in monetary units (m.u.) on diverse product categories. Your task is to apply k-means clustering to find some interesting groupings from the data. The attribute information is as per the following:
Channel | Wholesale purchase or Retail purchase |
Region | Region1, Region2, or Region3 |
Fresh | annual spending (m.u.) on fresh products |
Milk | annual spending (m.u.) on milk products |
Grocery | annual spending (m.u.)on grocery products |
Frozen | annual spending (m.u.)on frozen products |
Detergents_Paper | annual spending (m.u.) on detergents & paper products |
Delicatessen | annual spending (m.u.)on and delicatessen products |
Develop an R script to:
Read-in the dataset.
Apply k-means algorithm.
Play with the k value to find some interesting groupings and write a brief report to explain each of the findings
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started