Unsupervised Learning in Python
Benjamin Wilson
Director of Research at lateral.io
samples
(the array of scores), and country_names
import matplotlib.pyplot as plt from scipy.cluster.hierarchy import linkage, dendrogram
mergings = linkage(samples, method='complete')
dendrogram(mergings, labels=country_names, leaf_rotation=90, leaf_font_size=6) plt.show()
Unsupervised Learning in Python