From the course: Machine Learning with Data Reduction in Excel, R, and Power BI
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Hierarchical clustering
From the course: Machine Learning with Data Reduction in Excel, R, and Power BI
Hierarchical clustering
- [Instructor] Clustering algorithms let us group the data according to how similar their data points are. And by similar, we mean close together by distance. Unlike grouping with binning or categorical data labels, clustering algorithms use the distances between points to determine what cluster group each data point belongs to. The algorithm for the hierarchical clustering algorithms means we first group together the two closest data points as the first step in the model. We then calculate the next closest data points to that cluster or between another data point. The outcome of this algorithm is a visual that looks like a tree but with branches separating out like a downward trajectory. Now let's use the distance calculations for the hierarchical clustering in our model. We calculated the distances between each of the cities on our Cartesian coordinate plane containing the average daily temperatures and the rainfall…
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
-
-
-
-
(Locked)
Calculating distances7m 50s
-
(Locked)
Hierarchical clustering9m 6s
-
Heatmaps and dendrograms6m 30s
-
(Locked)
K-means clustering in one dimension9m 55s
-
(Locked)
K-means clustering in two dimensions5m 37s
-
(Locked)
Determining k9m 8s
-
(Locked)
Challenge: Clustering44s
-
(Locked)
Solution: Clustering8m 57s
-
(Locked)
-
-
-
-