Hamming Distance vs. Levenshtein Distance

后端 未结 2 1523
失恋的感觉
失恋的感觉 2021-02-01 12:33

For the problem I\'m working on, finding distances between two sequences to determine their similarity, sequence order is very important. However, the sequences that I have are

2条回答
  •  旧巷少年郎
    2021-02-01 13:12

    That question really depends on the types of sequences you are matching, and what result you want.

    If it's not a problem that "1234567890" and "0123456789" are considered totally different, indeed Hamming distance is fine.

提交回复
热议问题