Hierarchical Clustering

Algorithm Description

Check here for a presentation on the algorithms and the relevant info.

Example 1 - Single and Complete

Dataset

The dataset for this example can be downloaded here. Save the dataset in a folder and let’s start coding.

Solution

Click here to download the solution to this example problem.

Example 2 - Scaling

Dataset

The dataset for this example can be downloaded here. Save the dataset in a folder and let’s start coding.

Solution

Click here to download the solution to this example problem.

Exercise

Can we perform the same analysis on another real dataset? The dataset for this exercise is the percentage of votes for republican governments for different years and can be downloaded here.

Try this before you check the solution (here).


Previous section:
Next section: