Jump to content

distance metric


huda

Recommended Posts

hi,

 

If I have similarity matrix that I got it from sequence alignment, where each element of this matrix repersent the rate of similarity .i.e the max score represent mas similarity.

 

say n*n symmetric that show the rate of similarity among n objects .

 

 

ex.

x=[10 3 2

3 6 4

2 4 5];

 

here obj. 1 is most similar to obj. 2 because the max score except diagonal(10) is 3

 

and so on. the diagonal here is represent the comparison the object with itsel so has the max value

 

if I used distance metric such euclidean distance to cluster these objects, is it best to set the diagonal to zero, or leave it ?

 

 

by the way , which the best way to cluster the similarity matrix that result from sequence alignment?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.