nerdexam
Databricks

DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST · Question #68

You have used k-means clustering to classify behavior of 100, 000 customers for a retail store. You decide to use household income, age, gender and yearly purchase amount as measures. You have…

The correct answer is C. Decrease the number of clusters. kmeans uses an iterative algorithm that minimizes the sum of distances from each object to its cluster centroid, over all clusters. This algorithm moves objects between clusters until the sum cannot be decreased further. The result is a set of clusters that are as compact and…

Design data storage solutions

Question

You have used k-means clustering to classify behavior of 100, 000 customers for a retail store. You decide to use household income, age, gender and yearly purchase amount as measures. You have chosen to use 8 clusters and notice that 2 clusters only have 3 customers assigned. What should you do?

Options

  • ADecrease the number of measures used
  • BIncrease the number of clusters
  • CDecrease the number of clusters
  • DIdentify additional measures to add to the analysis

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    9% (4)
  • C
    84% (38)
  • D
    2% (1)

Explanation

kmeans uses an iterative algorithm that minimizes the sum of distances from each object to its cluster centroid, over all clusters. This algorithm moves objects between clusters until the sum cannot be decreased further. The result is a set of clusters that are as compact and well- separated as possible. You can control the details of the minimization using several optional input parameters to kmeans, including ones for the initial values of the cluster centroids, and for the maximum number of iterations. Clustering is primarily an exploratory technique to discover hidden structures of the data: possibly as a prelude to more focused analysis or decision processes. Some specific applications of k- means are image processing^ medical and customer segmentation. Clustering is often used as a lead-in to classification. Once the clusters are identified, labels can be applied to each cluster to classify each group based on its characteristics. Marketing and sales groups use k-means to better identify customers who have similar behaviors and spending patterns.

Topics

#k-means clustering#cluster count optimization#sparse clusters#customer segmentation

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST Practice