Understanding and Implementing Distance Metrics in Hierarchical Clustering
Introduction
Welcome to our lesson on distance metrics in hierarchical clustering! Today, we will delve into the definition and importance of distance metrics, particularly in hierarchical clustering. You will learn about various types of distance metrics such as Euclidean, Manhattan, and Cosine Distance, and how to implement these in Python. After this, we will examine the impact of these distance measures on the resulting hierarchical clustering.
Introduction to Distance Metrics
Distance metrics are essentially measures used in mathematics to calculate the 'distance' between two points. In the context of clustering, we're interested in the distance between data points in our dataset or the distance between clusters of points. We often use metrics like Euclidean distance, Manhattan distance, and Cosine Distance, each with its unique set of characteristics and application scenarios.
Implementing Distance Metrics in Python: Euclidean Distance
Implementing Distance Metrics in Python: Manhattan Distance
Implementing Distance Metrics in Python: Cosine Distance


