Earlier this year, my AI lecturer taught us about agglomerative hierarchical clustering, and K means clustering, but his explanations are lost, and I'm trying to figure out how he uses the data in the table below to create a dendogram. It would be great.

He gives the following table that describes the similarities:
Animal pairs Similarities
Bear & Tiger 4
Bear & Dog 3
Bear & Giant Squid 2
Bear & Cat 3
Tiger & Dog 2
Tiger & Giant Squid 1
Tiger & Cat 2
Dog & Giant Squid 2
Dog & Cat 5
Giant Squid & Cat 2
And the resulting dendrogram from the table above:

source
share