Closed Meldanen closed 5 years ago
Hi @Meldanen,
I guess the answer is really dependent on your data.
The normalisation used before the recent update in version 1.4 was meant to let you more directly measure similarity between signals with very different length. You can think of comparing recorded spoken words (for instance the word "cat" with one second of background noise before and another word "cat" with almost no noise before and after). In such context you may want to normalise the distance by the length of your signals.
In another context, this normalisation may actually not be useful.
Hi @pierre-rouanet ,
Thank you for your quick reply.
Yeah I suppose that makes sense. I'll look into a few normalisation methods and commpare.
Thanks again!
Hi @pierre-rouanet. How can I get access to DTW version 1.33?
Thank you.
pip install dtw==1.3.3
Thank you very much @pierre-rouanet.
Hi again,
(Continuing our email exchange and following your suggestion to post it here)
I'd like to find out the similarity between the two signals. In order to do this should I repeat what you did before this version change?
distance / sum(acc_cost_matrix.shape)
or would you suggest a different method?
Thanks, Alex