Dear All,
I am very new in python programming and I am trying to use the DTW package inside the mlpy in my research. To do so, I need to change the formula of Euclidean distance in dist_only to another function. Since I am working with the angular sequences the normal Euclidean distance does not work for me. Instead I want to change that function to dist=(1-cos(x-y))/2.
Could you please help me in this issue? I do not even know where I can find that defined function.
I am looking forward to your clues.
With best regards
Hossein