Determine what a convenient number of clusters. Justify your choice. Make use of the sklearn's package for
Question:
Determine what a convenient number of clusters. Justify your choice. Make use of the sklearn's package for k-means for this. You may refer to the module to figure out how to come up with the optimal number of clusters.
b. Make a plot for each cluster, that includes: - The number of clients in the cluster (you can put this in the title of the plot) - All the curves in the cluster - The curve corresponding to the center of the cluster (make this curve thicker to distinguish it from the individual curves). The center is also sometimes referred to as "centroid".
You have 2 separate plots for each cluster if you prefer (one for the individual curves, one for the centroid)
Management Accounting
ISBN: 9780730369387
4th Edition
Authors: Leslie G. Eldenburg, Albie Brooks, Judy Oliver, Gillian Vesty, Rodney Dormer, Vijaya Murthy, Nick Pawsey