MATLAB Answers

huda nawaf

how use hierarchical clustering with high score

Asked by huda nawaf
on 12 Aug 2012


i want use hierarchical clusteringto cluster my data is array represents the score of similarity among each user with the other, so the array is n*n

when read about hierarchical clustering I found out that algorithm consider the least score is the most similar.

Now, how i can use this algorithm with my data in which highest score represent most similar?

thanks in advance


Log in to comment.


No products are associated with this question.

2 Answers

Answer by Walter Roberson
on 12 Aug 2012

Have you considered clustering on (one minus your matrix) ?

  1 Comment


I thought with this matter, do you think that is not affect working of the algorithm that use euclidean distance to calculate the distance?

Log in to comment.

Answer by Ilya
on 12 Aug 2012

Use linkage function with 'complete' method.

doc linkage


Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!