Clustering with K-Means and Hierarchical Agglomerative Clustering(HAC)

Photo by Sharon Pittaway on Unsplash

Clustering is a technique that aims to group similar observations together while differentiating the groups from other groups. The number of groups is not defined, and therefore clustering is referred to as an “unsupervised learning” technique. Data points can be grouped in either a top-down or bottom-up approach. The approaches speak about how the data points should be…