The task is following, i am looking for a method to "align" two vectors o each other, before calculating the distance between them like Euclidean distance.
The reason is, that some entries in the vectors may be missing, but i do not know what exactly.
For example, if i have the vector [1,50,100] and other [2, 101], it is obvious that they should be aligned as
[1,50,100] [2, X, 101].
Means, during the alignment, i need to find the variant, what would give minimum length between existing values. If this is for longer vector length, the alignment may be confusing, but if i align vectors wrong, like
[1,50,100] [2, 101, X] -> this distance is not desirable.
Do you have any suggestions how to calculate this distance?