|
{ |
|
"paper_id": "Y02-1043", |
|
"header": { |
|
"generated_with": "S2ORC 1.0.0", |
|
"date_generated": "2023-01-19T13:43:37.205533Z" |
|
}, |
|
"title": "An Important Issue in Data Mining-Data Cleaning", |
|
"authors": [ |
|
{ |
|
"first": "Sung", |
|
"middle": [ |
|
"Sam" |
|
], |
|
"last": "Yuan", |
|
"suffix": "", |
|
"affiliation": { |
|
"laboratory": "", |
|
"institution": "National University of Singapore", |
|
"location": { |
|
"addrLine": "3 Science Drive 2", |
|
"country": "Singapore" |
|
} |
|
}, |
|
"email": "" |
|
}, |
|
{ |
|
"first": "Qi", |
|
"middle": [ |
|
"Xiao" |
|
], |
|
"last": "Yang", |
|
"suffix": "", |
|
"affiliation": {}, |
|
"email": "qixy@ihpc.nus.edu.sg" |
|
}, |
|
{ |
|
"first": "Jay", |
|
"middle": [], |
|
"last": "Rajasekera", |
|
"suffix": "", |
|
"affiliation": { |
|
"laboratory": "", |
|
"institution": "University of Japan", |
|
"location": {} |
|
}, |
|
"email": "" |
|
} |
|
], |
|
"year": "", |
|
"venue": null, |
|
"identifiers": {}, |
|
"abstract": "", |
|
"pdf_parse": { |
|
"paper_id": "Y02-1043", |
|
"_pdf_hash": "", |
|
"abstract": [], |
|
"body_text": [ |
|
{ |
|
"text": "Data mining techniques are well accepted for discovering potentially useful knowledge from the large datasets. Our past research work on studying aspects of data mining includes improving the performance of the rule generation [SS95, SWC96] , extending the scope of association rule mining [RSC99] and data generation [SLL96] .", |
|
"cite_spans": [ |
|
{ |
|
"start": 227, |
|
"end": 233, |
|
"text": "[SS95,", |
|
"ref_id": "BIBREF3" |
|
}, |
|
{ |
|
"start": 234, |
|
"end": 240, |
|
"text": "SWC96]", |
|
"ref_id": "BIBREF4" |
|
}, |
|
{ |
|
"start": 290, |
|
"end": 297, |
|
"text": "[RSC99]", |
|
"ref_id": "BIBREF1" |
|
}, |
|
{ |
|
"start": 318, |
|
"end": 325, |
|
"text": "[SLL96]", |
|
"ref_id": "BIBREF2" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1." |
|
}, |
|
{ |
|
"text": "Prior to data mining process, data cleaning is essential in that the quality of rules derived from the mining process is subject to the quality of data. Recently, significant attention is paid to record deduplication----an important branch of data cleaning. Various reasons are behind different representations of identical record: typographical errors, purposeful entry of false names, inconsistent data formats, incomplete information and registrant moving from one place to another.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1." |
|
}, |
|
{ |
|
"text": "[LL+99] is a milestone paper in the area of record de-duplication. Experiments on real-world data demonstrate that the methods of de-duplicate records presented in [LL+99] are efficient. Further study indicates that there is still room for improvement in the core part of its whole technology----the algorithm of the calculation of the Field Similarity. Our paper is to introduce a new algorithm to calculate Field Similarity. Theoretical analysis, concrete examples and experimental result shows that our algorithm can significantly improve the accuracy of the calculation of Field Similarity.", |
|
"cite_spans": [ |
|
{ |
|
"start": 164, |
|
"end": 171, |
|
"text": "[LL+99]", |
|
"ref_id": "BIBREF0" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1." |
|
}, |
|
{ |
|
"text": "The rest of the paper is organized as follows. Section 2 gives a background description of the algorithm of calculating Field Similarity presented in [LL+99] . Section 3 proposes our algorithm of calculating Field Similarity and exhaustively compares the new algorithm with the previous one. Section 4 provides an experiment to prove the performance improvement with the introduction of the new algorithm.", |
|
"cite_spans": [ |
|
{ |
|
"start": 150, |
|
"end": 157, |
|
"text": "[LL+99]", |
|
"ref_id": "BIBREF0" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1." |
|
}, |
|
{ |
|
"text": "This section gives a brief description of the algorithm to calculate Field Similarity presented in [LL+99] .", |
|
"cite_spans": [ |
|
{ |
|
"start": 99, |
|
"end": 106, |
|
"text": "[LL+99]", |
|
"ref_id": "BIBREF0" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Preliminary Background", |
|
"sec_num": "2." |
|
}, |
|
{ |
|
"text": "Let a field in record X have words Oxl, Ox2,....., Oxn and the corresponding field in record Y have words Oyl, 0y2, , Oym. Each word Oxi ,1 i n is compared with words Oyj, 1 j n. let DoSxl, DoSx2,....., DoSxn, DoSyl, DoSy2,....., DoSym be the maximum of the degree of similarities for words Oxl, 0x2,....., Oxn, Oyl, 0y2, , Oym respectively. Then the Field Similarity for record X and Y DoSx,", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Preliminary Background", |
|
"sec_num": "2." |
|
}, |
|
{ |
|
"text": "i +1m j DoSyi SIMF(X,Y) - 1 (1) n+m", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Preliminary Background", |
|
"sec_num": "2." |
|
}, |
|
{ |
|
"text": "About the calculation of degree of similarity of words---DoS:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Preliminary Background", |
|
"sec_num": "2." |
|
}, |
|
{ |
|
"text": "\u2022 If two words are exactly the same, the degree of similarity between these two words is 1.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Preliminary Background", |
|
"sec_num": "2." |
|
}, |
|
{ |
|
"text": "\u2022 If there is a total of x characters in the word, then we deduct --from the maximum degree of similarity of 1 for each character that is not found in the other word. For example, if we compare \"kit\" and \"quit\", then DoS = 1--=0.67 since the character k in \"kit\" is not found in \"quit\" and DoS quit =1 -3 -2 =0.5 since the characters q and u in \"quit\" are not found in \"kit\". Table 1 exercise for calculation of degree of similarity of words 1. The degree of similarity between \"129\" and \"129\" is 1, between \"129\" and \"Indisttry\" is 0, between \"129\" and \"Park \" is 0. So according to the above rule, DoS 129 Ri =1. (DoS should be the maximum) 2. The degree of similarity between \"Industry\" and \"129\" is 0, between \"Industry\" and \"Indisttry\" is 1 \u2022 1--=0.875, between \"Industry\" and \"Park \" is 0. So according to the above rule, DoSlndustry Ri 8 =0.875. 3. In the same way, we will obtain the following:", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 376, |
|
"end": 383, |
|
"text": "Table 1", |
|
"ref_id": null |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "1", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "DoSPark Ri =1, DoS129 R2 =1, DoSIndisttry R2 =1-- 2 =0", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "1", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": ".778, DoSPark R2 =1 9 4. When Formula 1 is employed, the address Field Similarity for R1 and R2 can be obtained as:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "1", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "DoS +Ein DoS _1+ 0.875 +1+1+ 0.778 +1 -0.942 SIMF(X,Y) - J=l n + m 6", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "1", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "This section proposes a new algorithm----Moving Contracting Window Pattern Algorithm (MCWPA) to calculate Field Similarity.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Proposed New Algorithm of Calculation of Field Similarity", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "Firstly, we give the definition of window pattern. All characters as a whole within the window constitute a window pattern. Take a string \"abcde\" as an example, when the window is sliding from the left to the right with the window size being 3, the series of window patterns obtained are \"abc\", \"bcd\" and \"cde\". abcde window pattern is \"abc\" abcde window pattern is \"bcd\" abcde window pattern is \"cde\" Let a field in record X have n characters (including blank space or comma, this applies to the following) and the corresponding field in record Y have m characters. w represents window size, Fx represents the field of record X and Fy represents the field of record Y. The Field Similarity for record X and Y is SIMF(X,Y)= SSNC (n + m)2 SSNC represents the Sum of the Square of the Number of the same Characters between Fx and Fy. SIMF(X,Y) approximately reflects the ratio of the total number of the common characters in two fields to the total number of characters in two fields.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Proposed New Algorithm of Calculation of Field Similarity", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "The following algorithm (MCWPA) is to calculate SSNC.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Proposed New Algorithm of Calculation of Field Similarity", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "w= the smaller of n and m; Figure 1 MCWPA algorithm Several examples are provided to illustrate how to calculate the Field Similarity with MCWPA and formula (2). Example 1: calculate the following Field Similarity.", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 27, |
|
"end": 35, |
|
"text": "Figure 1", |
|
"ref_id": null |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "1.", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "In this example, n=4,m=4, Fx =Abcd, Fy=Abcd, the initial value for w is 4, that means, initially the window is placed in the leftmost position with the window size 4 and the window pattern is \"Abcd\". When line 9 is executed in the program (figure 1), it finds the same pattern \"Abcd\" in Fy. When line 11 is executed, SSNC changes to (2*4) 2 = (8) 2 . When line 12 is executed, \"Abcd\" in Fx and \"Abcd\" in Fy are all marked as inaccessible characters. After lines 13, 14, 15,16, 17 are executed sequentially, the program runs back to line 5. Because \"Abcd\" are all marked as inaccessible characters in Fs, the condition \"still some characters in Fs are accessible\" is false. The program ends. According to formula (2) 82", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Field 1 abcd Field 2 abcd", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "(n + m) 2", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SIMF(X,Y)= =100%", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "(4 + 4)2", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SIMF(X,Y)= =100%", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "So if two fields are exactly the same, SIMF(X,Y) is 100%.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SIMF(X,Y)= =100%", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Example 2: calculate the following Field Similarity.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SIMF(X,Y)= =100%", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "(2)", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SIMF(X,Y)= =100%", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "In this example, n=6,m=8, Fx = abcllde, Fy= abcUkUde, the initial value for w is 6, Round 1 for the loop in line 5:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "w , the window pattern is \"abcUde\". In Fy, there", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "is not a string \"abc Ude\", the condition for line 9 is not true. So jump to line 14. Move window rightward by 1.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Since the window right border exceeds the right border of the Fs, the condition of line 7 is false, the program goes to line 16.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "w =5 , in Fy, there arc not strings \"abcUd\" or \"bcUde\", so w continues to reduce.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "w =4. The window pattern \"abc U\" has the same pattern in Fy. The condition for line 9 is true. ssivc----0 +(2*4) 2 ,", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Mark the window patterns as inaccessible characters. Move the window rightward to accessible characters.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "W =3. (omitted)", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Step 1: abc tide abcUkUde", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Step 2: (n + m) 2 \\ (6 + 8)2 The introductory part mentions that SIMF(X,Y) approximately reflects the ratio of the total number of the common characters in two fields to the total number of characters in two fields. For this example, There are altogether 2*6=12 common characters (\"abc \", \"de\") in 14 characters (\"abc de\" and \"abc k de\"), so SIMF(X,Y) should be -12 45%, why is the result equal to '63%? Because these 6 14 characters are not continuous. Example 5 will give a detailed discussion about this issue.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "This section will give some examples to show that MCWPA can overcome some drawbacks that exist in the previous algorithm of the Field Similarity. Also the logic behind the design of MCWPA is presented. (2* 29) 2 29 \u00b0O bviously, the two fields are quite different, only 10% common characters. However, the result of the previous algorithm shows that these two fields have 50% similarity. In contrast, the result of MCWPA is about 10%, which is quite close to the expectation.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis and Comparison of Two Algorithms of Field Similarity", |
|
"sec_num": "3.1" |
|
}, |
|
{ |
|
"text": "Analysis: This example shows that there is a drawback for the previous algorithm. In it, DoSx 1 , DoSx2,....., DoSxn, DoSyl, DoSy2,....., DoSym are the maximum of 'the degree of similarities for words Oxl, 0x2,....., Oxn, Oyl, 0y2, Oym respectively. If quite a number of words in one field are similar to only one word in the other field and dissimilar to other words, the previous algorithm will give inaccurate result. MCWPA overcomes this problem by marking the same characters in two fields as inaccessible so as to avoid revisiting. Analysis: Clearly, the similarity in case 1 should be higher than that in case 2. However, the same results based on the previous algorithm suggest that the previous algorithm considers \"abc de\" and \"de abc\" in case 2 the same. This disagrees with our common sense. In the following experiment section, we will show that this is fatally erroneous in some dataset with Chinese names. Further study of the previous algorithm shows that the adoption of word as basic unit results in its inability to distinguish between two exactly the same fields and two fields with the same words in different sequences. To improve the accuracy, MCWPA uses the character as the unit. In this example, if the unit is word, both case 1 and case 2 have two same words. In contrast, if the unit is character, case 1 has 6 same characters and case 2 has 5 same characters. As expected, SIMF(X,Y) in case 1 is larger than SIMF(X,Y) in case 2 when MCWPA is employed.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis and Comparison of Two Algorithms of Field Similarity", |
|
"sec_num": "3.1" |
|
}, |
|
{ |
|
"text": "Example 5: calculate the following Field Similarity for two cases with the above two algorithms. Casel:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis and Comparison of Two Algorithms of Field Similarity", |
|
"sec_num": "3.1" |
|
}, |
|
{ |
|
"text": "With the previous algorithm for case 1: SIMF(X,Y) =80%, for case 2: SIMF(X,Y) =80%,", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis and Comparison of Two Algorithms of Field Similarity", |
|
"sec_num": "3.1" |
|
}, |
|
{ |
|
"text": "With MCWPA for case 1: SIMF(X,Y) =1", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis and Comparison of Two Algorithms of Field Similarity", |
|
"sec_num": "3.1" |
|
}, |
|
{ |
|
"text": "(2*6) -80% (6 + 9)2 (n + m) 2 \\ (6 + 9)2 Note: for casel, two algorithms produce the same result. Analysis: Intuitively, in case 1, \"Fu Hui\" and \"Mr Fu Hui\" should be the same person. In case 2, the likelihood exists that due to transposition error, originally \"Fu Mr Hui\" should be \" Mr Fu Hui\". However, in more likelihood, due to typographical errors, originally \"Fu Mr Hui\" should be \" Fu Mi Hui\" or \"Fu Ma Hui\", etc. Factually, the two common words \"Fu Hui\" in field 2 of case 1 are continuous. In contrast, in field 2 of case 2, they are interpolated by another word \"Mr\", hence the similarity between two fields is severely reduced. Thus intuitively and factually two fields in case 1 should be more similar than those in case 2. However, the previous algorithm gives the same results for case 1 and case 2. In contrast, the results based on MCWPA show that the similarity for case 1 is reasonably higher than that for case 2. With respect to characters, both case 1 and case 2 have 6 common characters (\"Fu\" \" Hui\"). According to example 4, even MCWPA can not distinguish casel from case 2. Further examination of the two cases reveals that in field 2 of ,case 1, these 6 characters are continuous while in field 2 of case 2, they are not. In order to reflect the difference in terms of continuity despite the same number of common characters, MCWPA introduces the square to the calculation of SIMF(X,Y). In the calculation of SIMF(X,Y) in example 5 with MCWPA, the fundamental reason that the result of case 1 is larger than that of case2 is because 6 2 > 2 2 +4 2 Mathematically, it is easily seen that the square of the sum of numbers is larger than the sum of the square of numbers, that is, (a+b+....+n)", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC (n + m)2", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "2 >a 2 \u00b1-13 2 \u00b1 +n 2 , (if a b..... n 0). In this way, the introduction of square in the calculation of SIMF(X,Y) can overcome the continuity problem which leads to the inaccurate result for the previous algorithm. Now, the answer to the remaining question in example 2 is obvious, why is the result equal to 63% that is much lower than -12 ? Because those 6 14 for case 2: SIN4F(X,Y) = (2*2)2 +(2*4) 2 SSNC 0% common characters in example 2 are not continuous. If the common characters in field 2 for the example 2 are continuous like the following: Field 1 abc de Field 2 abc de k", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC (n + m)2", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "The result will be -1 2 . So MCWPA correctly reflects the discontinuity by reducing reasonable amount 14 from the result.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "SSNC (n + m)2", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "For pedagogical reasons, suppose we have two fields with the same number of words (W) and same number of characters (N). For the previous algorithm: Complexity of calculation of Field Similarity by the previous algorithm is 0(W 2 ), no matter it is worst case or average case because every word in one field needs to be compared with every word in the other field to find the maximum DoS. For MCWPA: Complexity for the worst case (no common characters exist between two fields):", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "When the window size is N, the complexity is 0(1 2).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "When the window size is N-1, the complexity is 0(2 2 ).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "When the window size is 1, the complexity is 0(N 2 ).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "The total is: 1 2 +2 2 N +N 2 =-N(N+1)(2N+1) 6 So the complexity for the worst case of calculation of Field Similarity by MCWPA is: 0(N 3 ).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "It is not true to say that time complexity is the disadvantage of MCWPA since 0(N 3 ) only applies to the worst case. Through the following two examples, we prove that by some reasonable omission, MCWPA can be more efficient than the previous algorithm.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "Example 6: compare the number of operations involved in the calculation of Field Similarity by two algorithms.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "Field 1 ab cd of gh ij kl mn op qr st uv wx yz Field 2 ab cd of gh ij kl mn op qr st uv wx yz", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "With the previous algorithm: Since every word in field 1 needs to be compared with every word in field 2 to find the maximum DoS and both fields have 13 words, the total number of operations is 13 2 . (We omit the operations irrelevant to the current discussion) With MCWPA:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "The whole program ends at the first loop when the window size is equal to the length of Field 1 or Field 2. So the number of operations is 1.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "Analysis: this example shows that under some circumstances, MCWPA does take less time than the previous one. The more the two fields are similar, the less time it takes. Example 7: compare the number of operations involved in the calculation of Field Similarity by two algorithms Field 1 ab cd ef gh inkl Field 2 ab cd ef gh imol", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "With the previous algorithm: Like the example 6, the total number of operations is 8 2 . With MCWPA:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "The numbers of operations for the window size 19, 18, 17, 16, 15 are 1 2 , 2 2 , 3 2 , 4 2 , 5 2 ,respectively. When the window size is 14, it finds the first matching pattern \"ab cd ef gh After the strings \"ab cd ef gh iil\" are marked as inaccessible in two fields, the window size becomes 5, 4, 3, 2, the corresponding numbers of operations are 1 2 5 2 2 5 3 2 5 A 2 4 , respectively. When the window size is 2, it finds another matching pattern \"UP'. Likewise, the numbers of the remaining operations are 1 2 , 2 2 , 3 2 . So the total number of operations is:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "( 12 + 2 2 2 +32 +42 +52 )+(12 2 +22 +32 + 4 2 )_+_( 1 2 +22 + 3 2 ) =55+30+14 =99", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "Analysis: It can be seen that to find all matching patterns, MCWPA uses 99 operations with SIMF(X,Y) being 0.692 while the previous algorithm only uses 64 operations. However, to find the first pattern \"ab cd ef gh iU\", it uses only 1 2 + 2 2 + 3 2 + 4 2 \u00b1 -2 =55 operations. Moreover, the contribution of the first pattern to SSNC is quite substantial, (2* 13) 2 =676. (The length of the string \"ab cd ef gh iU\" is 13) In comparison, to find the second pattern \"Ul \" with the contribution of only (2*2) 2 =16 to SSNC, it uses as many as 1 2 + 2 2 + 3 2 + A 2 4 =30 operations. The characteristic of MCWPA is that it picks out the longer matching strings (with more contribution to SSNC) at earlier stage. This gives rise to the possibility of improving the efficiency of MCWPA by introducing userspecified execution-termination window size threshold. For example, in example 7, if the executiontermination threshold is half of the window size, after the program executes 1 2 5 2 =55 operations and finds the matching pattern \"ab cd ef gh iu\", it will end with SIMF(X,Y) being 0.684 because the window size in the next step is 5 which is less than the execution-termination threshold. There are two reasons for the introduction of the execution-termination window size threshold: 1) The contribution of short matching patterns is insignificant to the calculation of SSNC. For this example, the difference in SIMF(X,Y) is only 0.692-0.684=0.008. In fact, even though two fields have some short matching patterns, there is no reason to believe that the two fields are similar. For example, although \"ab cd ef' and \"fa ce db\" have 6 1-character-long matching patterns, (\"a\",\"b\",\"c\",\"d\",\"e\",\"f') intuitively, they are totally dissimilar. 2) Based on the above analysis of time complexity of MCWPA:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "When the window size is N, the complexity is 0(1 2 ). When the window size is N-1, the complexity is 0(2 2 ).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The Comparison of Time Complexity between two Algorithms", |
|
"sec_num": "3.2" |
|
}, |
|
{ |
|
"text": "When the window size is 1, the complexity is 0(N 2 ).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "+2 2 + 3 2 + 4 2 +", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "It can be seen that the smaller the window size is, the higher the time complexity is. So the introduction of the execution-termination threshold, that is, the omission of the calculation of small window size, can reduce time complexity of MCWPA significantly. Thus, with the introduction of the suitable execution-termination window size threshold, MCWPA can be more efficient than the previous algorithm. Of course, there is a tradeoff between faster execution time and more accurate result.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "+2 2 + 3 2 + 4 2 +", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "The dataset used to compare two algorithms is a merger of two datasets that come from two surveys conducted through an electronic form within a mass-sent email. The dataset has 782 records. Each record contains seven fields, namely, Matric Number, Name, Address, Major, Grade, Race, Gender. Manual inspection shows 50 duplicate records. Various problems include matching records with different Matric number or mis-spelled names.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Experiment Result", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "To detect duplicate records, computation of record similarity needs to be carried out which, in turn, requires the knowledge of field weightage---the importance of each field. For example, the name field should have higher weightage than sex field because name is more informative than sex. The sum of all field weightage should be 1.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Experiment Result", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "Let a database has data fields Fl, F2,...., Fn with field weightages Wl, W2,....., Wn respectively. Given two records X and Y, let SEMF1(X,Y), SIMF2(X,Y),....., SIMFn(X,Y) be the field similarities for F 1, F2,...., Fn respectively, then the record similarity for record X and Y is", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Experiment Result", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "Among seven fields, the most distinguishing fields---Name, Address and Matric number are chosen for the calculation of Field Similarity. We compare two algorithms by two criteria: 1) Miss Detection (duplicate records are not detected) and 2)False Detection (similar non-duplicate records are treated as duplicate records) 1) Miss Detection \u2022 The previous algorithm failed to detect 5 pairs of duplicate records. That is, it has 5/50=10% Miss Detection rate.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Ei=1 n SIM FI (X, Y) *Wi", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "\u2022 MCWPA also failed to detect 5 pairs of duplicate records. That is, it has 5/50=10% Miss Detection rate.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Ei=1 n SIM FI (X, Y) *Wi", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "2) False Detection \u2022 The previous algorithm incorrectly matched 10 pairs of non-duplicate records.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Ei=1 n SIM FI (X, Y) *Wi", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "\u2022 MCWPA incorrectly matched only 1 pair of non-duplicate records.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Ei=1 n SIM FI (X, Y) *Wi", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "The results show that with respect to Miss Detection, two algorithms have roughly the same performance. However, in terms of False Detection, MCWPA performs much better than the previous algorithm. Further study of the testing dataset shows that in the name field, there are some similar non-duplicate Chinese names such asri5=I Pq and at . These names are stored as English characters in the dataset, namely, \"Gao Hua Ming\" and \"Gao Ming Hua\". As analyzed in the example 4, the previous algorithm treats two fields with the same words in different sequences as the matching fields. Thus the high False Detection rate for the previous algorithm begins to make some sense. In addition, there is also a case that the previous algorithm treats \"zeng hong\" and \"zeng zeng\" the same. As analyzed in the example 3, MCWPA identifies a large difference in the calculation of Field Similarity between these two fields.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Analysis:", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "This paper has presented a new algorithm (MCWPM) for the calculation of Field Similarity. After a background description of the algorithm of calculating Field Similarity presented in [LL+99] is given, our new algorithm (MCWPM) of calculating Field Similarity is proposed. In essence, MCWPM improves the previous algorithm in the following aspects: 1) The introduction of marking the common characters as inaccessible to avoid revisiting, which is presented in example 3.", |
|
"cite_spans": [ |
|
{ |
|
"start": 183, |
|
"end": 190, |
|
"text": "[LL+99]", |
|
"ref_id": "BIBREF0" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "2) The adoption of the character as unit for the calculation of Field Similarity instead of words to improve accuracy, which is presented in example 4.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "3) The introduction of square to the calculation of Field Similarity to reflect the difference in terms of continuity despite the same number of common characters, which is presented in example 5. 4) The introduction of execution-termination window size threshold to achieve higher efficiency, which is presented in example 6 and 7. Thorough comparison of these two algorithms through theoretical analysis, concrete examples and experimental result leads to the conclusion that our new algorithm (MCWPM) can significantly improve the accuracy of the calculation of Field Similarity.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": null |
|
} |
|
], |
|
"back_matter": [], |
|
"bib_entries": { |
|
"BIBREF0": { |
|
"ref_id": "b0", |
|
"title": "Cleansing data for mining and warehousing", |
|
"authors": [ |
|
{ |
|
"first": "Hongjun", |
|
"middle": [], |
|
"last": "Mong Li Lee", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "Tok", |
|
"middle": [], |
|
"last": "Lu", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "Wang", |
|
"middle": [], |
|
"last": "Ling", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "Yee Teng", |
|
"middle": [], |
|
"last": "Ko", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1999, |
|
"venue": "Proceedings of the 10 th International Conference on Database and Expert Systems Applications (DEXA99)", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "751--760", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Mong Li Lee, Hongjun Lu, Tok Wang Ling and Yee Teng Ko. \"Cleansing data for mining and warehousing\", In Proceedings of the 10 th International Conference on Database and Expert Systems Applications (DEXA99),pages 751-760,August 1999.", |
|
"links": null |
|
}, |
|
"BIBREF1": { |
|
"ref_id": "b1", |
|
"title": "Extending the Applicability of Association Rules", |
|
"authors": [ |
|
{ |
|
"first": "K", |
|
"middle": [], |
|
"last": "Rajamani", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "S", |
|
"middle": [ |
|
"Y" |
|
], |
|
"last": "Sung", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "", |
|
"middle": [], |
|
"last": "Cox", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1999, |
|
"venue": "Pacific Asia Knowledge Discovery and Data Mining (PAKDD'99)", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "64--73", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "K. Rajamani, S. Y. Sung and A Cox, \"Extending the Applicability of Association Rules\", In Pacific Asia Knowledge Discovery and Data Mining (PAKDD'99), Beijing, April, 1999, pp.64-73.", |
|
"links": null |
|
}, |
|
"BIBREF2": { |
|
"ref_id": "b2", |
|
"title": "On Generating Synthetic Database for Classification", |
|
"authors": [ |
|
{ |
|
"first": "S", |
|
"middle": [ |
|
"Y" |
|
], |
|
"last": "Sung", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "H", |
|
"middle": [], |
|
"last": "Lu", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "Y", |
|
"middle": [], |
|
"last": "Lu", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1996, |
|
"venue": "IEEE International Conference on Systems, Man, and Cybernetics", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "S. Y. Sung, H. Lu and Y.Lu, \"On Generating Synthetic Database for Classification\", 1996 IEEE International Conference on Systems, Man, and Cybernetics, Oct. 14-17, Beijing, China.", |
|
"links": null |
|
}, |
|
"BIBREF3": { |
|
"ref_id": "b3", |
|
"title": "Mining Association Rules using Minimal Covers", |
|
"authors": [ |
|
{ |
|
"first": "S", |
|
"middle": [ |
|
"Y" |
|
], |
|
"last": "Sung", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "V", |
|
"middle": [], |
|
"last": "Shaw", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1995, |
|
"venue": "Proc. of the 1995 Inter. Joint Conf. on Information Sciences", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "S. Y. Sung and V. Shaw, \"Mining Association Rules using Minimal Covers\", Proc. of the 1995 Inter. Joint Conf. on Information Sciences, NC, USA, September 28-30, 1995.", |
|
"links": null |
|
}, |
|
"BIBREF4": { |
|
"ref_id": "b4", |
|
"title": "Data mining in a large database environment", |
|
"authors": [ |
|
{ |
|
"first": "S", |
|
"middle": [ |
|
"Y" |
|
], |
|
"last": "Sung", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "B L", |
|
"middle": [], |
|
"last": "Wang", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "", |
|
"middle": [], |
|
"last": "Chua", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1996, |
|
"venue": "proceedings of 1996 IEEE International Conference on Systems, Man and Cybernetics (SMC'96)", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "988--993", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "S. Y. Sung, K Wang and B L Chua, \"Data mining in a large database environment\". In proceedings of 1996 IEEE International Conference on Systems, Man and Cybernetics (SMC'96), Beijing, China, pp. 988- 993.0ct. 1996.", |
|
"links": null |
|
} |
|
}, |
|
"ref_entries": { |
|
"TABREF2": { |
|
"html": null, |
|
"num": null, |
|
"text": "The process of calculating SSNC with MCWPA is shown as follows.", |
|
"content": "<table><tr><td>Field 1</td><td colspan=\"2\">abc de</td><td/></tr><tr><td>Field 2</td><td colspan=\"2\">abc k de</td><td/></tr><tr><td colspan=\"3\">abc Ude</td><td/></tr><tr><td colspan=\"3\">abcUkUde</td><td/></tr><tr><td colspan=\"4\">Round 2 for the loop in line 5:</td></tr><tr><td>Stepl</td><td/><td/><td/></tr><tr><td colspan=\"3\">abc Ude</td><td/></tr><tr><td colspan=\"3\">abcUkUde</td><td/></tr><tr><td>Step2</td><td/><td/><td/></tr><tr><td colspan=\"3\">abcUde</td><td/></tr><tr><td colspan=\"3\">abcUkUde</td><td/></tr><tr><td colspan=\"4\">Round 3 for the loop in line 5:</td></tr><tr><td>Step.'</td><td/><td/><td/></tr><tr><td>abc Ude</td><td/><td colspan=\"3\">I-1 abc tide xxx x</td><td>F-1 abc Ude --Ap,\" xxx x</td></tr><tr><td colspan=\"2\">abc ilk LI de</td><td colspan=\"3\">abcUkUde xxx x</td><td>abcUkUde xxx x</td></tr><tr><td colspan=\"4\">Round 4 for the loop in line 5:</td></tr><tr><td colspan=\"4\">Round 5 for the loop in line 5:</td><td>w =2. The window pattern \"dc\" has the</td></tr><tr><td colspan=\"2\">Stepl abc Ude n xxx x abcUkUde xxx x</td><td>-110.</td><td colspan=\"2\">abc Ude xxx x abcUkUde xx xxxx xx</td><td>same pattern in Fy. The condition for line 9 is true. SS/VC= 2 (8) + (2*2) 2, Mark the window patterns as inaccessible characters. Move the window rightward to accessible characters. (no accessible characters any</td></tr><tr><td colspan=\"4\">Round 6 for the loop in line 5:</td><td>more)</td></tr><tr><td colspan=\"2\">abc Ude xxx x xx abcUkUde xxx x xx</td><td/><td/><td>w =1. There is no accessible characters available, so the condition in line 5 is not true. The program ends.</td></tr><tr><td colspan=\"3\">According to formula 2,</td><td/></tr><tr><td colspan=\"2\">SIMF(X,Y) =</td><td colspan=\"2\">SSNC</td><td>(2 * 4) 2 + (2*2)2</td><td>3%</td></tr></table>", |
|
"type_str": "table" |
|
}, |
|
"TABREF3": { |
|
"html": null, |
|
"num": null, |
|
"text": "Example 3: calculate the following Field Similarity with the above two algorithms.", |
|
"content": "<table><tr><td>Field 1</td><td colspan=\"3\">ex ex ex ex ex ex ex ex ex ex</td><td/></tr><tr><td>Field 2</td><td colspan=\"3\">ab ab ab ab ab ab ab ab ab ex</td><td/></tr><tr><td colspan=\"3\">With the previous algorithm,</td><td/><td/></tr><tr><td colspan=\"2\">SIMF(X,Y) -</td><td colspan=\"4\">n . DoS. , +Em. DOS 11 1-1 f=1 -> 50% n+m 20</td></tr><tr><td colspan=\"2\">With MCWPA,</td><td/><td/><td/></tr><tr><td colspan=\"2\">SIMF(X,Y) =</td><td>(n+m)2 SSNC</td><td>(2*3)2</td><td>3</td><td>0810/</td></tr></table>", |
|
"type_str": "table" |
|
}, |
|
"TABREF4": { |
|
"html": null, |
|
"num": null, |
|
"text": "Example 4: calculate the following Field Similarity for two cases with the above two algorithms.", |
|
"content": "<table><tr><td>Field 1</td><td>Fu Hui</td><td/></tr><tr><td>Field 2</td><td>Mr Fu Hui</td><td/></tr><tr><td>Case2:</td><td/><td/></tr><tr><td>Field 1</td><td>Fu Hui</td><td/></tr><tr><td>Field 2</td><td>Fu Mr Hui</td><td/></tr><tr><td>Casel:</td><td/><td/></tr><tr><td>Field 1</td><td>de abc</td><td/></tr><tr><td>Field 2</td><td>de abc</td><td/></tr><tr><td>Case2:</td><td/><td/></tr><tr><td>Field 1</td><td>abc de</td><td/></tr><tr><td>Field 2</td><td>de abc</td><td/></tr><tr><td colspan=\"3\">With the previous algorithm for case 1: SIMF(X,Y) =1,</td></tr><tr><td/><td colspan=\"2\">for case 2: SIMF(X,Y) =1</td></tr><tr><td colspan=\"2\">With MCWPA for case 1: SIMF(X,Y) =</td><td>SSNC (n+m) 2</td><td>(2* 6) 2 (6 + 6)2</td></tr><tr><td/><td>for case 2: SIMF(X,Y) =</td><td>SSNC (n+ m) 2</td><td>(2 *3) 2 \u00b1 (2 * 2)2 (6 + 6) 2</td></tr><tr><td/><td/><td colspan=\"2\">=0.6 0%</td></tr><tr><td colspan=\"3\">Note: for casel, two algorithms produce the same result.</td></tr></table>", |
|
"type_str": "table" |
|
} |
|
} |
|
} |
|
} |