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.
Finding optimum value for k: k = 4
From the course: Machine Learning and AI Foundations: Clustering and Association
Finding optimum value for k: k = 4
- [Instructor] Trial and error is the name of the game everybody, so we're going to go ahead and try K=4. Now, with K means, the way it's set up here in modeler each time I run this, I would get the same results. So I'm not saving different versions of this model I'm just changing the value of K. Obviously, some folks might choose to do that and have more than one diamond on the stream, I'm just not doing so right now. In a real-world project, I probably would, especially if there were lots of variations on the theme. Like if I was sending all the cases to one model, fewer than all the cases to another model, different numbers of variables and so on. But here, I'm keeping everything the same except for that value of K. Let's take a look. And again, what I usually turn to first is highlighting all the clusters. Now remember, in your tool of choice, you might not have this, you know, fancy cluster viewer. But you're going to have a way of doing box-and-whiskers plots so you can…
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
-
-
-
-
-
-
-