Unsupervised Learning in Python
Benjamin Wilson
Director of Research at lateral.io












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