Question 4 (Use “R Studio”)
Estimate a hierarchical clustering algorithm over the us.civil.war.battles dataset. Plot the resulting tree, including plotting split points over the tree, using the method you think best describes the data (state why you think your chosen method is best).
Now run an off-the-shelf k-means clustering algorithm with k = 4. How did the model do? Plot the PCA representation of the model using the plot function from useful.
Are the two clustering algorithms you ran above comparable ?
Hi there! Click one of our representatives below and we will get back to you as soon as possible.