Differentiate between k-means clustering and hierarchical clustering?



Differentiate between k-means clustering and hierarchical clustering?..

Answer / Satyapal Singh

K-means clustering is a type of hard clustering that aims to find K distinct groups where each data point belongs exclusively to one group. Hierarchical clustering, on the other hand, creates a hierarchy of clusters by merging or splitting them. It can be either agglomerative (bottom-up) or divisive (top-down).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Why is R Important?

1 Answers  


Explain different types of objects present in R?

1 Answers  


Why the function anova()?

1 Answers  


Explain the programming features of R?

1 Answers  


What is compiler in r?

1 Answers  


What is a random forest? How do you build and evaluate a random forest in r?

1 Answers  


Explain an extended example of connections?

1 Answers  


Which packages are used to store and restore R objects to and from a file in R language?

1 Answers  


What is the use of stringr package. Give some examples of the functions in stringr.

1 Answers  


Give examples of “select” and “filter” functions from “dplyr” package.

1 Answers  


How can you import data in r?

1 Answers  


What are the different data structures in r?

1 Answers  


Categories