write my assignment 293

Question 4 (Use “R Studio”)

Package: cluster.datasets

Dataset: us.civil.war.battles

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 ?

 
"Not answered?"
Get the Answer