Ask Your Question
0

hierarchical Clustering VS Kmeans Clustering

asked 2013-07-31 01:05:43 -0600

updated 2013-07-31 06:42:10 -0600

What is difference between hierarchical Clustering & Kmeans clustering?What is advantage of hierarchical Clustering to Kmeans clustering?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-31 02:41:41 -0600

updated 2013-07-31 02:53:28 -0600

Siegfried gravatar image

That is not bad the explanation of the differences between hierarchical and k-means clustering(page 46): http://www.lcb.uu.se/KBIB/materials/L1.pdf. And there is an rational thought about the using of hierarchical k-means (top-down hierarchical clustering using k-means iteratively) there. The advantage of one or the other method depends of the task's conditions.

edit flag offensive delete link more

Comments

One of the differences between these two algorithms is number of center.In the Kmeans have to determine K param but in hierarchical clustering does not require specify K param & algorithm determines K param.Why in the opencv hierarchical Clustering have to send center Mat?

Mostafa Sataki gravatar imageMostafa Sataki ( 2013-07-31 03:29:40 -0600 )edit

If you mean flann::hierarchicalClustering in OpenCV it is a hierarchical k-means tree. You need to create a matrix for centers. The centers.rows will be the upper limit of clusters which you need. This matrix will contain the obtained centers of clusters.

red_sonya gravatar imagered_sonya ( 2013-07-31 05:03:20 -0600 )edit

Question Tools

Stats

Asked: 2013-07-31 01:05:43 -0600

Seen: 8,188 times

Last updated: Jul 31 '13