Professional Documents
Culture Documents
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 19
Abstract—Data is asset for companies and organizations. Because data and the information obtained from data analysis play
an important role in decision making. The quality of data affects the quality of decisions and the incorrect data causes incorrect
decision making. Recently, a great deal of researches has focused on enhancing data quality. It is infeasible or very difficult to
improve quality of data through manual inspection. Because data quality is one of the complicated and non-structured concepts
and data cleansing process can not be done without the help of professional domain experts, and detection of errors require a
thorough knowledge in the related domain of the data. Therefore (semi-)automatic data cleansing methods is employed to find
data errors and defects and solve them. Data mining methods are appropriate for enhancing different dimensions of data
quality, since they are aimed at finding abnormal patterns in large volumes of dataset. In this paper, a new approach is
presented to detect the errors inside the dataset using fuzzy association rules. Fuzzy association rules are used to build a
model that is intended to capture the structure of the regarded data. Finally, Experimental results of the proposed approach
show the effectiveness of the proposed method to find errors in datasets.
—————————— ——————————
1 INTRODUCTION
definition of quality management, we define quality of capable of discovering such associations between
data to meet customer needs. Contrary to popular belief, quantitative values. As much of data in real world
the quality is not necessarily error at the level of zero [7]. contain quantitative values and there may be errors in
Data will have high quality if they are appropriate for this type of values, the proposed method in [4] cannot be
applications, decision making and planning. an applicable to detect error. In this paper, the presented
Researches have defined different dimensions for data method in [4] will be extended and association rules
quality. Each dimension shows a particular view of between quantitative values will be discovered with the
quality. The more interesting dimensions are as follow: help of fuzzy sets concept.
Consistency: the rate of violation from the
defined significant rules on the dataset.
3.1 Fuzzy Association Rule
Availability: the rate of data availability, being
easy and the speed of data retrieval. Fuzzy association rules are the rules which are extracted
Accuracy: the distance between value of v and from a fuzzy dataset. A fuzzy rule in the form of A B
value of v' that represents the entity which v where A, B are fuzzy sets and A B 0 , is called fuzzy
tries to portray it. association rule.
Completeness: the database includes all of the Using of fuzzy concepts has some advantages. First,
related entities. the discovered association rules are more understandable.
Value added: the rate of being useful. These concepts make a transition between numerical
Data mining is an automatic process to extract the values of data and categorical concepts. Second, these
patterns as an implicit knowledge in the database. Data concepts help discover the rules between quantitative
mining utilizes multiple scientific fields simultaneously, values. For example, the following fuzzy sets are defined
such as the technology of data base, artificial intelligence, for the data shown in Table I:
machine learning, neural networks, statistics, High job level = {manager, deputy}
pattern recognizer, knowledge based systems and Mean job level = {designer}
information retrieval. High degree grade = {PHD, MS}
Data mining methods are appropriate for improving Mean degree grade = {BS, 12th}
different dimensions of data quality, since they are aimed High income = {400-500}
at finding abnormal patterns in large volumes of dataset. Mean income = {100-200}
In 2001, Hipp introduced data quality mining as a new
approach from research and application viewpoint. The TABLE 1
goal of data quality mining is to employ data mining INSTANCE DATABASE
methods in order to detect, quantify, explain and correct Trans_id Job Degree Income
data quality deficiencies in huge databases [4]. 1 desiger BS 100
In this paper, the accuracy dimension of data quality has 2 desiger BS 150
been considered using data mining method. 3 desiger 12th 200
4 manaer PHD 400
5 manage MS 450
3 THE PROPOSED IDEA
6 deputy PHD 500
As Among data mining methods, association rules is a The following fuzzy association rules may be stated
very active research topic that has been used widely in by the mentioned fuzzy sets:
lots of cases such as basket analysis, decision maker High job level→ High degree grade
support systems, theft detection, etc. Data quality is also Mean job level→ Mean degree grade
one of the topics where using association rules can be High job level→ High income
useful, because In comparison with other methods of data Mean job level→ Mean income
mining, association rules are understandable and can Now assume the following transaction:
clearly discover and describe the dependency between Transaction_id 7: job = deputy, degree = PHD,
data. Also association rules are independent of each income=100
other. Therefore, recision of simpler rules has no effect on Considering the dataset shown by Table I, an error can be
the other rules. detected in the above transaction, as the person who is
One of the defects of using association rules for data deputy cannot have income of 100, while his income is
cleaning is that association rules can not show properly expected to be much higher. This transaction violates
the associations between quantitative values. As an "High job level→ High income" fuzzy rule. It should be
example in Table I, job and degree are categorical noted that the error would not be detected by the rules
attributes and income is numerical attribute. If we want to extracted by Apriori algorithm.
obtain association rules in these data with support>1, via
Apriori algorithm, only we can find some BS degrees,
whereas there is an association between income and job 3.2 proposed method
or degree and income. For example, some one who have a The proposed method is consisted of steps that the
high degree level have more income than the people who description of each step is as follows:
have a mean degree level. Apriori algorithm is not
JOURNAL OF COMPUTING, VOLUME 2, ISSUE 9, SEPTEMBER 2010, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 21
a) Data preprocessing: in this step, data is converted to In (1), 1 Y (T ) shows the degree that fuzzy transaction
standard format and lost values are managed. For T violates r, the more 1 Y (T ) , the more inconsistency of
example, the values of date attribute in some
transaction T with rule r.
transactions may be in the form of YYYY/MM/DD and
As an example, the consistency check for transaction 7 is
in some other in the form of YYYY-MM-DD. To obtain a
shown in Table IV.
correct model of the associations, implementation of this
step is necessary.
TABLE 4
b) Mapping data to fuzzy values: fuzzy sets and fuzzy CONSISTENCY CHECK FOR TRANSACTION6 WITH RULES IN
TABLE 3
membership functions for quantitative data are defined
in accordance with the knowledge of experienced Fuzzytrans_id Non- Consistent Inconsistent
experts. Then, data values are mapped to fuzzy values correlated rule rule
by fuzzy membership functions. Table II shows fuzzy rule
mapping for income and job attributes of Table I. Mean job High job High job
7 level→ Mean level→ High level→ High
income degree grade income
TABLE 2
MAPPING TABLE 1 TO FUZZY VALUE
e)Scoring and ranking the transactions: A score is
Fuzzy- High Mean High job Mean job assigned to each transaction by summing the confidence
trans_id income income level level values of the rules it violates. The score of each
1 0 1 0 1 transaction is computed as following:
2 0.02 0.97 0 1
3 0.04 0.91 0 1
score ( R ) : D R
4 0.80 0.09 0.93 0.03
5 0.92 0.03 0.93 0.01 T rR confidence ( r ) . violate (T , r )
6 0.96 0.01 1 0
Precision
0.6
(3) and (4) based on the confusion matrix entries, shown 0.5
0.4
in Table V. In this paper, in addition to these two 0.3
measures, the runtime of the two methods has been also 0.2
compared. 0.1
0
0 20 40 60 80 100
Num ber Of Error In Dataset
TABLE 5 Adult Dataset-Fuzzy Association Rule
CONFUSION MATRIX Adult Dataset-Apriorit
Transactions classifi- Real Dataset-Fuzzy Association Rule
cation by proposed mthod Real Dataset-Apriori
Correct Incorrect
Fig. 2. The precision measure for the proposed method and the
transactions transactions method described in [4] for two datasets
Correct
TP FN
Real transactions
Classification Incorrect
Figure 3 also compares the recall measure of Adult
FP TN and Personal datasets for two methods.
transactions
It is clear that the proposed method delivers better
results.
Precision = TP (3) 1
0.9
TP FP 0.8
Recall = TP (4) 0.7
TP FN 0.6
Recall
0.5
0.4
In order to evaluate the proposed method, two 0.3
numerical attributes called income and hpw and two Num ber Of Error In Dataset
categorical attributes called job and degree. Also, Adult Dataset-Fuzzy Association Rule
personnel data includes two numerical attributes called Adult Dataset-Apriorit
income and valuation score and two categorical attributes Real Dataset-Fuzzy Association Rule
called job and degree. 1000 instances of the transactions of Real Dataset-Apriori
0.5
0.4
effectiveness of the proposed method.
0.3
0.2 REFERENCES
0.1
0 [1] D. Luebbers, U. Grimmer, M. Jarke, “Systematic Development
0.6 0.7 0.8 0.9 1 1.1 of Data Mining-Based Data Quality Tools”, Proc. of the 29-th
Varying m in_confidence International Conference on Very Large Data Bases, Berlin,
Germany, pp. 548-559, 2003.
Precision-Fuzzy Association Rule
Precision-Apriori
[2] J. Hipp, M. Müller, J. Hohendorff, F. Naumann, “Rule-Based
Recall-Fuzzy Association Rule Measurement of Data Quality in Nominal Data”, Proc. of the
Recall-Apriori 12th International Conference on Information Quality (ICIQ),
Cambridge, USA, 2007.
Fig. 5 The precision and recall measure for the proposed method [3] C. Brodley, M. Friedl, “Identifying Mislabeled Training Data”,
and the method described in [4] for Adult Journal of Artificial Intelligence Research. Vol. 11, pp. 113-167,
1999.
[4] J. Hipp, U. Güntzer, U. Grimmer, “Data Quality Mining –
140 Making a Virtue of Necessity”, Proc. of the 6-th ACM SIGMOD
120 Workshop on Research Issues in Data Mining and Knowledge
100 Discovery, Santa Barbara, California, pp. 52-57, 2001.
[5] F. Grüning, “Data Quality Mining: Employing Classifiers for
RunTime
80
Assuring consistent Datasets”, Proc. of the 21-th Information
60
Technologies in Environmental Engineering, Springer-Verlag
40
Berlin Heidelberg, pp. 58-94, 2007.
20 [6] J. Maletic, A. Marcus, “Data cleansing: Beyond integrity
0 analysis”, Proc. of the Conference on Information Quality, MIT,
0 200 400 600 800 1000 1200 Boston, pp. 200-209, 2000.
Number Of Transactions [7] J. Geiger, “Data Quality Management: The Most Critical
Initiative You Can Implement”, Intelligent Solutions, Inc.,
Fuzzy Association Rule Apriori
Boulder, Paper 098-29, 2004.
[8] J. Maletic, A. Marcus, K. Lin, “Ordinal Association Rules for
Error Identification in DataSets”, Proc. of 10-th Intl. conf.
Fig. 6 The runtime of the proposed method and the mothod
presented in [4] for Personal dataset Information and Knowledge Management(CIKM), Atlanta, GA,
pp. 589-591, 2001
According to figure 6, the runtime of the proposed [9] D. Olson, Y. Li, “Mining Fuzzy Wighted Association Rules”,
method is better. The main reason is due to the difference Proc. of the 40th IEEE Intl. Conference on System Sciences,
in runtime of association rules discovery. Fuzzy Hawaii, 2007.
association rules algorithm is much faster than Apriori [10] Http://archive.ics.uci.edu/ml/datasets/adult
JOURNAL OF COMPUTING, VOLUME 2, ISSUE 9, SEPTEMBER 2010, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 24
Dr. Kambiz Badie received his B.Sc., M.Sc. and Ph.D. in electronic
engineering from the Tokyo Institute of Technology, Japan, majoring
in Pattern Recognition & Artificial Intelligence. His major research
interests are Machine Learning, Cognitive Modeling, and Systematic
Knowledge Processing in general, and Analogical Knowledge
Processing Experience-Based Modeling, and Interpretative Modeling
in particular with emphasis on idea and technique generation. He
has published many papers in various fields. At present, he is the
Director of IT Faculty at Iran Telecom Research Center