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

New to MATLAB?

how use hierarchical clustering with high score

Asked by huda nawaf

huda nawaf

on 12 Aug 2012

hi,

i want use hierarchical clusteringto cluster my data.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

0 Comments

huda nawaf

huda nawaf

Products

No products are associated with this question.

2 Answers

Answer by Walter Roberson

Walter Roberson

on 12 Aug 2012

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

1 Comment

huda nawaf

huda nawaf

on 12 Aug 2012

Thanks,

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

Walter Roberson

Walter Roberson

Answer by Ilya

Ilya

on 12 Aug 2012

Use linkage function with 'complete' method.

doc linkage

http://www.mathworks.com/help/toolbox/stats/linkage.html

0 Comments

Ilya

Ilya

Contact us