efficient algorithm to compare similarity between sets of numbers?

前端 未结 12 652
甜味超标
甜味超标 2021-02-01 11:13

I have a large number of sets of numbers. Each set contains 10 numbers and I need to remove all sets that have 5 or more number (unordered) matches with any other set.

F

12条回答
  •  一生所求
    2021-02-01 12:02

    You should find the Pearson Coefficient between two sets of data. This method will make your program easily scalable to huge data sets.

提交回复
热议问题