I need to find a similarity measurement between two arrays of data. You can call similarity measurement whatever you want, difference, correlation or whatever.
For example:
1, 2, 3, 4, 5 < Series 1
2, 3, 4, 5, 6 < Series 2
Should be far more similar to each other than these 2 series:
1, 2, 3, 4, 5 < Series 1
1, 1, 5, 8, 7 < Series 2
Any suggestions?
Is there a source code available for it?