Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Now, we will use K-means and hierarchical clustering on the data. (a) How many clusters do you think we should specify? Why? (b) Conduct

image text in transcribed
2. Now, we will use K-means and hierarchical clustering on the data. (a) How many clusters do you think we should specify? Why? (b) Conduct K-means clustering with 2 clusters. What are the cluster means? (Hint, In R, set.seed(1) km.out = kmeans(tumor,2,nstart=20) (c) Make a scatterplot matrix between all variables and color the points by cluster. Describe your findings. (Hint. In R, pairs(tumor,col=km.out$cluster)) (d) Using complete linkage, perform hierarchical clustering and color the points on the scatterplot matrix as in the previous question. Is the result much different? (Hint: In R, hc.complete=hclust(dist(tumor), method="complete") cutree(hc.comp|ete,2)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Calculus

Authors: Carla C Morris, Robert M Stark

1st Edition

1119015367, 9781119015369

More Books

Students also viewed these Mathematics questions

Question

What is allopatric speciation? Sympatric speciation?

Answered: 1 week ago

Question

Understand developments in knowledge creation and management

Answered: 1 week ago

Question

Explain key ideas of workplace learning

Answered: 1 week ago

Question

Explain how HRD may be implemented

Answered: 1 week ago