• No results found

Modified Deviation Approach to Deal with Missing Attribute Values in Data Mining with different Percentage of Missing Values

N/A
N/A
Protected

Academic year: 2020

Share "Modified Deviation Approach to Deal with Missing Attribute Values in Data Mining with different Percentage of Missing Values"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

percentage of Missing Values

Pallab Kumar Dey

Department Of Computer Science

The University of Burdwan Bardhaman-713104,India.

Sripati Mukhopadhyay

Department Of Computer Science

The University of Burdwan Bardhaman-713104,India.

ABSTRACT

Information System having missing attribute values (in practi-cal) hampers accurate estimation of Data Mining. If missing at-tribute values can be predicted in the pre-processing stage of data mining then it will help to improve the accuracy, and the exist-ing data minexist-ing algorithms can also be applied based on com-plete data. In this work different type of methods available to handle incomplete information system have been discussed, and there after an algorithm has been proposed by which missing at-tribute values may be replaced with minimum complexity. It is shown that proposed algorithm is better by applying it on dif-ferent sets of data with difdif-ferent percentage of missing values.

General Terms:

Data Mining, Pre-processing

Keywords:

Data Mining ,Incomplete Information, Missing attribute Values , pre-processing , Modified Deviation approach

1. INTRODUCTION

Data Mining is a systematic approach for finding rules and pat-tern from large dataset. Real-life datasets may be incomplete for several reasons and Data mining with incomplete data is a chal-lenging job. Various methods are available to deal with miss-ing attribute values. To change a Incomplete Information System (i.e., datasets with missing attribute values) in a complete Infor-mation System objects, which have at least one missing value for an attribute, have to delete or ignore .But here it has been com-promised with accuracy. So it can be applied only when dataset is too large and number of missing object is small. By list-wise or pair-wise objects may be deleted [1]. Knowledge can be ex-tracted or rule can be generated directly from Incomplete Infor-mation [12, 7]. Here incompleteness of dataset have to manage at the time of rule generation.But these methods complexity have to consider,also here it’s not possible to use available data min-ing algorithm. In pre-processmin-ing step if Incomplete Information can be translated into Complete information then available Data Mining algorithms can be used.

In preprocessing step missing value may be handled by differ-ent methodology. Missing values may be filled up the by max-imum occurring attribute value or by maxmax-imum occurring at-tribute value within same concept(decision value)[2, 9].But here prediction error is not considerable.In preprocessing step

miss-ing value may be filled by all feasible domain values of the at-tribute or by all feasible domain values of same concept(decision value) of the attribute[6, 5].But it will increase number of entity which effect its complexity and accuracy.

In preprocessing step missing values may be treated by various statistical based methods [8, 4, 11, 13, 3] which are efficient and easy to implement in any software packages.In mean-mode method [8] missing values are replaced by mean of observe tribute value for numerical data and by maximum occurring at-tribute value for linguistic variable.In closest fit approach [4] missing values are replaced by mean of, observe attribute val-ues and mean-of previous and successor valval-ues.Missing valval-ues may be replaced randomly such that standard deviations remain same[11] but complex to implement. In deviation approach[3] mean absolute deviation of observe values have been considered to fill missing attribute values.Mean-mode approach and clos-est fit approach are easy to implement but extreme point (from mean) will suffer. In Deviation approach extreme point can be better predicted but middle points where previous value and suc-cessor value are in same direction from mean will suffer. In this paper a method has been proposed to deal with miss-ing values in the category of MCAR(missmiss-ing completely at random)[10] where all missing values can be predicted by same weightage. Here individual missing values(not only statistical computation result) may be estimated better than other methods. The proposed algorithm is also simple and low cost.

2. MATHEMATICAL AND COMPUTER

MODELING

First observe mean (A¯j) forjth attribute may be calculated as

follows-¯

Aj = m1

Pm

i=1Vij where m is the number of non missing

at-tribute value forjth attribute.

Now mean deviation (A¯jM D) based on not null Previous(Vijpre)

value of missing attribute value(Vij) and not null

successor(Vijf lw) value of missing attribute value from

observe mean(A¯j) may be calculated as

follows-¯

AjM D=12[

A¯j−Vijpre

+

A¯j−Vijf lw

]

Mean of Previous (Vijpre) value and successor (Vijf lw) value

may be calculated as follows

VijP F =

Vijpre+Vijf lw

(2)

Comparison of Different Methods with Different Data sets and Different percentage of Missing Attribute values Row Denotes( Error percentage) ::

1(<=10%),2(>10%,<=20%),3(>20%,<=30%),4(>30%,<=40%),5(>40%,<=50%),6(>50%,<=60%),

7(>60%,<=70%),8(>70%,<=80%),9(>80%,<=90%),10(>9%,<=100%),11(>100%),12(AccuratePrediction) Column Denotes:: no of sample values(percentage of total missing values)

So (X,Y)=(25,1) denotes, predication error is less than 10% in 25% missing sample values. Best

fit Data

2% & 5% Misng Att val

Bestfit Data

10% & 15% Misng Att val

Breast Tissue Data Set

2% & 5% Misng Att val

Breast Tissue Data Set

10% & 15% Misng Att val

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60 70 80 90 100

1-11: error ,12:accurate estimation , 2% missing value in bestfit data

n

o

. o

f

sa

m

p

lle

v

a

lu

es

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60 70 80

1-11: error ,12:ac curate estimation , 5% missing value in bestfit data

n

o

.

o

f s

a

m

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60 70 80

1-11: error ,12:ac curate estimation , 10% missing value in bestfit data

n

o

.

of

s

a

m

p

lle

v

alu

es

Modified Deviation Deviation Approach Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60 70 80 90

1- 11: err or ,12:ac curate estimation , 15% missing value in bestfit data

n

o.

o

f

s

a

m

pll

e

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60

1-11: error ,12:accurate estimation , 2% missing value in Breast Tissue Data Set

n

o.

o

f

s

am

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45

1-11: error ,12:accurate estimation , 5% missing value in Breast Tissue Data Set

n

o

.

o

f

s

a

m

p

ll

e

v

alu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40

1- 11: err or ,12:ac cur ate estimation , 10% missing value in Breast Tissue Data Set

n

o

.

of

s

a

m

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45

1-11: error , 12:accurate estimation , 15% missing value in Breast Tissue Data Set

n

o.

o

f s

a

m

p

ll

e v

alu

e

s

Modif ied Deviation Deviation Approach Mean-mode Best fit Approach

Previous (Vijpre) value and successor (Vijf lw) value have been

taken as the estimator of missing value to calculate deviation di-rection. It may be assumed that missing value has positive

(3)

Cloud data

2% & 5% Misng Att val

Cloud data

10% & 15% Misng Att val

glass identif ication

2% & 5% Misng Att val

glass identif ication

10% & 15% Misng Att val

indian liver patien t

2% & 5% Misng Att val

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45

1-11: error , 12:accurate estimation , 2% missing value in cloud data

n

o.

o

f

sa

m

p

ll

e v

alu

es

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45

1-11: error ,12:accur ate estimation , 5% missing value in cloud data

n

o

.

o

f sa

m

p

ll

e v

alu

es

Modified Deviation Deviation Approach Mean-mode Bestfit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40

1-11: error ,12: accurate estimation , 10% missing value in cloud data

no

.

o

f s

am

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best f it Approach

1 2 3 4 5 6 7 8 9 10 11 12 0

5 10 15 20 25 30 35

1-11: error ,12: ac curate estimation , 15% missing value in c loud data

n

o.

o

f s

a

m

p

lle

v

a

lu

es

Modified Deviation Deviation Approach Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12 0

10 20 30 40 50 60 70 80

1-11: error , 12: accurate estimation , 2% missing value in glass identif ication data

n

o.

o

f s

a

m

p

lle

v

a

lu

es

Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60 70

1-11: error ,12: accurate estimation , 5% missing value in glass identification data

n

o.

o

f s

a

m

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best f it Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60

1-11: error , 12:accurate estimation , 10% missing value in glass identification data

no

.

o

f s

a

m

p

ll

e v

alu

es

Modified Deviation Deviation Approach Mean-mode Best f it Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60

1-11: error , 12:accurate estimation , 15% missing value in glass identification data

n

o.

o

f s

am

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode B est fit Approach

1 2 3 4 5 6 7 8 9 10 11 12 0

5 10 15 20 25 30 35 40

1-11: error ,12: accurate estimation , 2% missing value inindian liver patient data

n

o

. o

f

sa

m

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best f it Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30

1-11: error ,12:accurate estimation , 5% missing value in indian liver patient data

n

o

. o

f

sa

m

p

lle

v

a

lu

e

s

Modified Deviation Deviation Approach Mean-mode Best fit Approach

Vij=

¯

VijP F+( ¯Aj+ ¯AjM D)

2

(4)

indian liver patien t 10% & 15% Misng Att val lung cancer 2% & 5% Misng Att val lung cancer 10% & 15% Misng Att val Wine data 2% & 5% Misng Att val Wine data 10% & 15% Misng Att val

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35

1-11: error ,12:accurate estimation , 10% missing value in indian liver patient data

n o . o f sa m p lle v a lu e s Modified Deviation Deviation Approach Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30

1-11: error ,12:ac curate estimation , 15% missing value in indian liver patient data

n o . o f sa m p lle v a lu e s Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35

1-11: error ,12:ac curate estimation , 2% missing value in lung canc er data

n o. o f s a m p ll e v a lu es Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45 50

1-11: error ,12:accurate estimation, 5% missing value in lung c ancer data

no . o f sa m p ll e v alu e s Modified Deviation Deviation Approach Mean mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40

1- 11: er ror ,12:accurate estimation , 10% missing value in lung cancer data

n o . of sa m p ll e v a lu e s Modified Deviation Deviation Approac h Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35

1-11: error ,12:accurate estimation , 15% missing value in lung cancer data

no . o f sa m p ll e v a lu e s Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35 40 45

1-11: err or ,12:accur ate estimation , 2% missing value in wine data

n o . o f sa m p lle v a lu e s Modified Deviation Deviation Approac h Mean-mode Best fit Approac h

1 2 3 4 5 6 7 8 9 10 11 12

0 10 20 30 40 50 60

1-11: error ,12:accurate estimation , 5% missing value in wine data

n o. o f sa m pll e v a lu e s Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35

1-11: err or ,12:accur ate estimation , 10% missing value in wine data

n o. o f s a m pll e v a lu es Modified Deviation Deviation Approach Mean-mode Best fit Approach

1 2 3 4 5 6 7 8 9 10 11 12

0 5 10 15 20 25 30 35

1-11: error ,12:ac curate estimation , 15% missing value in wine data

no . o f sa m p ll e v a lu e s Modified Deviation Deviation Approach Mean-mode Best fit Approach

Vij=

¯

VijP F+( ¯Aj−A¯jM D)

2

(5)

0 5 10 15 0

10 20 30 40 50 60 70

percentage of missing attribute values for best fit data

E

rr

o

r

R

a

te

(M

e

a

n

o

f

p

e

rc

e

n

ta

g

e

e

rr

o

r

)

Modified Deviation Deviation Approach Best fit Approach Mean-mode

0 5 10 15

0 100 200 300 400 500 600

percentage of missing attribute values for Breast Tissue Data Set

E

rr

o

r

R

a

te

(M

e

a

n

o

f

p

e

rc

e

n

ta

g

e

e

rr

o

r

)

Modified Deviation Deviation Approach Best fit Approach Mean-mode

0 5 10 15

5 10 15 20 25 30 35 40 45

percentage of missing attribute values for glass identification data

E

rr

o

r

R

a

te

(M

e

a

n

o

f

p

e

rc

e

n

ta

g

e

e

rr

o

r

)

Modified Deviation Deviation Approach Best fit Approach Mean-mode

Vij=

¯

VijP F+ ¯Aj

(6)

input : Incomplete information System S, S=Aj, Vij:

j=1,2,...,k; i=1,2,...,n whereVijmay be missing

k=number of Attributes, n=number of Objects

output: Complete Information System

forEach Attributejdo ¯

Aj= m1 Pmi=1Vij; forEach Attributeido

ifVijmissingthen

Find not null, previous value (Vijpre) and

successor value(Vijf lw);

¯

VijP F =

Vijpre+Vijf lw

2 ;

¯

AjM D =12[

A¯j−Vijpre

+

A¯j−Vijf lw

];

ifVijpreA¯jandVijf lwA¯jthen

Vij=

¯

VijP F+( ¯Aj−A¯jM D)

2 ;

else ifVijpreA¯jandVijf lwA¯jthen

Vij=

¯

VijP F+( ¯Aj+ ¯AjM D)

2

end else

Vij=

¯

VijP F+ ¯Aj

2

end end end end end

2.2 Analysis of Algorithm Complexity

Let k is the no. of attribute and n is the no. of Object

present.Then first for loop will executektimes and second for

loop will executentimes.So total time complexity for the above

algorithm isO(K)∗O(n) =O(k∗n).Clearly Space

complex-ity is also O(1). So computational complexcomplex-ity for proposed algo-rithm is simple.

3. EXPERIMENTAL RESULT

Seven real data sets have been used where missing

at-tribute values frequently occur.Six data sets accessible

from http://archive.ics.uci.edu/ml/ and one data set taken from[4].Decision attributes and entity sets containing at least one missing attribute value have been deleted.In every data sets existing attribute values are randomly replaced by different percentage of symbolic lost values(missing values).Due to space limitation only few result of our experiments are presented in

Considering complexity the efficiency the proposed algorithm may be the best in certain field of application.In a large range of percentage of missing value this algorithm estimate consistent result. In this work application of proposed algorithm on numer-ical attribute values where missing data is MCAR have been dis-cussed. Depending upon nature of missing attribute values and percentage of missing attribute value one method have to select to change it in a complete information system.

5. REFERENCES

[1] A. Acock. Working with missing values.Journal of

Mar-riage and Family, 67:1012–1028, 2005.

[2] P. Clark and T. Niblett. The CN2 induction

algo-rithm,Machine Learning 3. 1989.

[3] Pallab K. Dey and Sripati Mukhopadhyay. Deviation

ap-proach to missing attribute values in data mining.

Interna-tional Journal of Advance Research in Computer Science, 3(3):–, 2012.

[4] Sanjay Gaur and M.S. Dulawat. A closest fit approach to

missing attribute values in data mining.International

Jour-nal of Advances in Science and Technology, 2(4):–, 2011. [5] J. W. Grzymala-Busse. On the unknown attribute values in

learning from examples. 542:368–377, 1991.

[6] J. W. Grzymala-Busse and Hu Ming. A comparison of sev-eral approaches to missing attribute values in data mining. pages 378–385, 2001.

[7] J. W. Grzymala-Busse and A. Y. Wang. Modified algo-rithms lem1 and lem2 for rule induction from data with missing attribute values. In Research Triangle Park, editor,

Fifth International Workshop on Rough Sets and Soft Com-puting (RSSC’97), Third Joint Conference on Information Sciences (JCIS’97), page 6972, 2–5 1997.

[8] J. Han and M. Kamber.Data Mining: Concepts and

Tech-niques. Morgan Kaufmann, San Francisco, CA, 2001.

[9] Bratko I. Knonenko and I. Roskar.E.: Experiments in

auto-matic learning of medical diagnostic rules.Technical Re-port, Jozef Stefan Institute, Lljubljana, Yugoslavia, 1984.

[10] R. J. A. Little and D. B. Rubin.Statistical Analysis with

Missing Data. John Wiley and Sons, 1987.

[11] Dorian Pyle.Data Preparation for Data Mining. Morgan

Kaufmann Publishers, 1999. hardcopy.

[12] J. R. Quinlan.C4.5: Programs for Machine Learning.

Mor-gan Kaufmann, San Mateo, CA, 1993.

[13] G.Weckman W.Young and W.Holland. A survey of methodologies for the treatment of missing values within

datasets: limitations and benefits.Theoretical Issues in

References

Related documents

It returns a period (.) for DATE, DATETIME and numeric values , and return blanks for character variables when the &lt;sql-expression&gt; set is empty or consisted of only

It is possible to assign special missing values to numeric variables to distinguish different types of missing data.. The letter in the special missing value may be uppercase

The main novelties of the proposed approach with respect to the results of paper [7] are: (i) we consider a general polynomial dependence on the scheduling signal and (ii)

Испитани се 516 ученици со ПУ во одделенија со посебни по- треби, 154 ученици со ПУ од инклузивни одделенија и 245 ученици без ПОП во инте- грирани одделенија со

Specifically, when acetaminophen and/or ibuprofen do not lower the pain enough, then start with a lower dose of narcotic, and increase the dose if pain remains uncontrolled,

In the mean imputation, the mean of the values of an attribute that contains missing data is used to fill in the missing values. In the case of a categorical attribute, the

(This is primarily because, even post-reform, low-priority medications make up the majority of successful claims. Consequently, the increase in the success rate of claims generates

Even though the (data) range between member states increased with the enlargement of the Union, delegation of risk regulation as a general mode of governance