From the course: Machine Learning and AI Foundations: Clustering and Association
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Running a k-means cluster analysis
From the course: Machine Learning and AI Foundations: Clustering and Association
Running a k-means cluster analysis
- [Instructor] We're going to run a k-means cluster analysis in IBM SPSS modeler. So a couple of things for you to know. First, you should be able to find a way of doing k-means in numerous software options. You don't necessarily have to run this in SPSS modeler. Two, the stream has been provided for you, and it's simply called cluster analysis dot STR. SPSS modeler streams always end in dot STR. And then finally, the ready for cluster data file is shown here as an SPSS format file, with a dot SAV ending. But an alternate version of this data file is also being provided in the course resources, and it might be easier to use a simple comma separated version for your tool of choice, so I've given you more than one version of the data file. Let's begin. Let me go ahead and run this table so that we can see the data. And what we want to remind ourselves of here is that we have sales, amounts, sums, quite a few of them, then over here, number of transactions and total spent. But then most…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
How does k-means work?2m 3s
-
(Locked)
Which variables should be used with k-means?2m 46s
-
(Locked)
Interpreting a box plot6m 49s
-
(Locked)
Running a k-means cluster analysis3m 28s
-
(Locked)
Interpreting cluster analysis output5m 42s
-
(Locked)
What does silhouette mean?2m 20s
-
(Locked)
Which cases should be used with k-means?4m 44s
-
(Locked)
Finding optimum value for k: k = 35m 7s
-
(Locked)
Finding optimum value for k: k = 45m 51s
-
(Locked)
Finding optimum value for k: k = 55m 3s
-
(Locked)
What the best solution?3m 56s
-
-
-
-
-
-
-