Docsity

Data Minining - Analytical characterization, Study notes of Data Mining

Toggle sidebar
bg1
November 20, 2014 Data Mining: Concepts and
Techniques 1
UNIT II: Concept Description:
Characterization and Comparison
•What is concept description?
•Data generalization and summarization-based
characterization
•Analytical characterization: Analysis of attribute relevance
•Mining class comparisons: Discriminating between
different classes
•Mining descriptive statistical measures in large databases
•Discussion
•Summary
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Data Minining - Analytical characterization and more Study notes Data Mining in PDF only on Docsity!

November 20, 2014 Data Mining: Concepts and 1

UNIT II: Concept Description:

Characterization and Comparison

  • (^) What is concept description?
  • (^) Data generalization and summarization-based

characterization

  • (^) Analytical characterization: Analysis of attribute relevance
  • (^) Mining class comparisons: Discriminating between

different classes

  • (^) Mining descriptive statistical measures in large databases
  • (^) Discussion
  • (^) Summary

November 20, 2014 Data Mining: Concepts and 2 Characterization vs. OLAP

  • (^) Similarity:
    • (^) Presentation of data summarization at multiple levels of abstraction.
    • (^) Interactive drilling, pivoting, slicing and dicing.
  • (^) Differences:
    • (^) Automated desired level allocation.
    • (^) Dimension relevance analysis and ranking when there are many relevant dimensions.
    • (^) Sophisticated typing on dimensions and measures.
    • (^) Analytical characterization: data dispersion analysis.

November 20, 2014 Data Mining: Concepts and 4 Attribute relevance analysis (cont’d)

  • (^) How?
    • (^) Data Collection
    • (^) Analytical Generalization
      • (^) Use information gain analysis (e.g., entropy or other

measures) to identify highly relevant dimensions and

levels.

  • (^) Relevance Analysis
    • (^) Sort and select the most relevant dimensions and

levels.

  • (^) Attribute-oriented Induction for class description
    • (^) On selected dimension/level
  • (^) OLAP operations (e.g. drilling, slicing) on relevance rules

November 20, 2014 Data Mining: Concepts and 5

Relevance Measures

• Quantitative relevance measure

determines the classifying power of

an attribute within a set of data.

• Methods

– information gain (ID3)

– gain ratio (C4.5)

– gini index

– ^2 contingency table statistics

– uncertainty coefficient

November 20, 2014 Data Mining: Concepts and 7 Top-Down Induction of Decision Tree Attributes = {Outlook, Temperature, Humidity, Wind}

Outlook
Humidity
Wind
sunny rain
overcast
yes
no yes
high
normal
no
strong
weak
yes

PlayTennis = {yes, no}

November 20, 2014 Data Mining: Concepts and 8 Entropy and Information Gain

  • (^) S contains si tuples of class Ci for i = {1, …, m}
  • (^) Information measures info required to classify any arbitrary tuple
  • Entropy of attribute A with values {a 1 ,a 2 ,…,av}
  • (^) Information gained by branching on attribute A

s

s

log

s

s

I( s,s ,...,s )

i m i i 1 2 m 2 1  

I(s ,...,s )

s

s ... s

E(A) j mj

v j j mj 1 1 1  

Gain(A)I(s 1 ,s 2 ,...,sm)E(A)

November 20, 2014 Data Mining: Concepts and 10 Example: Analytical Characterization (cont’d)

  • (^) 1. Data collection
    • (^) target class: graduate student
    • (^) contrasting class: undergraduate student
    1. Analytical generalization using Ui
    • (^) attribute removal
      • (^) remove name and phone#
    • (^) attribute generalization
      • (^) generalize major , birth_place , birth_date and gpa
      • (^) accumulate counts
    • (^) candidate relation: gender , major , birth_country , age_range and gpa

November 20, 2014 Data Mining: Concepts and 11 Example: Analytical characterization (2) gender major birth_country age_range gpa count M Science Canada 20-25 Very_good 16 F Science Foreign 25-30 Excellent 22 M Engineering Foreign 25-30 Excellent 18 F Science Foreign 25-30 Excellent 25 M Science Canada 20-25 Excellent 21 F Engineering Canada 20-25 Excellent 18

Candidate relation for Target class: Graduate students (  =120)

gender major birth_country age_range gpa count M Science Foreign <20 Very_good 18 F Business Canada <20 Fair 20 M Business Canada <20 Fair 22 F Science Canada 20-25 Fair 24 M Engineering Foreign 20-25 Very_good 22 F Engineering Canada <20 Excellent 24

Candidate relation for Contrasting class: Undergraduate students (  =130)

November 20, 2014 Data Mining: Concepts and 13 Example: Analytical Characterization (4)

  • (^) Calculate expected info required to classify a given sample if S is partitioned according to the attribute
  • (^) Calculate information gain for each attribute
    • (^) Information gain for all attributes 07873 250 42 250 82 250 126 E(major)I(s 11 ,s 21 )I(s 12 ,s 22 )I(s 13 ,s 23 ).
Gain(major)  I(s 1 ,s 2 )  E(major)  0. 2115

Gain(gender) = 0. Gain(birth_country) = 0. Gain(major) = 0. Gain(gpa) = 0. Gain(age_range) = 0.

November 20, 2014 Data Mining: Concepts and 14 Example: Analytical characterization (5)

  • (^) 4. Initial working relation (W 0 ) derivation
    • (^) R = 0.
    • (^) remove irrelevant/weakly relevant attributes from candidate relation => drop gender , birth_country
    • (^) remove contrasting class candidate relation
  • (^) 5. Perform attribute-oriented induction on W 0 using Ti major age_range gpa count Science 20-25 Very_good 16 Science 25-30 Excellent 47 Science 20-25 Excellent 21 Engineering 20-25 Excellent 18 Engineering 25-30 Excellent 18 Initial target class working relation W 0 : Graduate students