Is there a generalization of cosine similarity that is robust to shifts across the compared vectors? E.g. a metric assigning high similarity to the following vectors:
[0,1,1,1,2,2,0,0] [1,1,1,2,2,0,0,0]
Is there a generalization of cosine similarity that is robust to shifts across the compared vectors? E.g. a metric assigning high similarity to the following vectors:
[0,1,1,1,2,2,0,0] [1,1,1,2,2,0,0,0]