Docsity

Data Minining - Mining class comparisons, Study notes of Data Mining

Toggle sidebar
bg1
November 24, 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
pff
pf12
pf13
pf14
Discount

On special offer

Partial preview of the text

Download Data Minining - Mining class comparisons and more Study notes Data Mining in PDF only on Docsity!

November 24, 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

Mining Class Comparisons

  • (^) Comparison: Comparing two or more classes
  • (^) Method:
    • (^) Partition the set of relevant data into the target class and the contrasting class(es)
    • (^) Generalize both classes to the same high level concepts
    • (^) Compare tuples with the same high level descriptions
    • (^) Present for every tuple its description and two measures
      • (^) support - distribution within single class
      • (^) comparison - distribution between classes
    • (^) Highlight the tuples with strong discriminant features
  • (^) Relevance Analysis:
    • (^) Find attributes (features) which best distinguish different classes

November 24, 2014 Data Mining: Concepts and 4 Example: Analytical comparison (2)

  • (^) Given
    • (^) attributes name, gender, major, birth_place,

birth_date, residence, phone# and gpa

  • (^) Gen(a i ) = concept hierarchies on attributes ai
  • (^) U i = attribute analytical thresholds for

attributes ai

  • (^) T i = attribute generalization thresholds for

attributes ai

  • (^) R = attribute relevance threshold

November 24, 2014 Data Mining: Concepts and 5

Example: Analytical

comparison (3)

  • (^) 1. Data collection
    • (^) target and contrasting classes
  • (^) 2. Attribute relevance analysis
    • (^) remove attributes name, gender, major, phone#
  • (^) 3. Synchronous generalization
    • (^) controlled by user-specified dimension thresholds
    • (^) prime target and contrasting class(es) relations/cuboids

November 24, 2014 Data Mining: Concepts and 7

Example: Analytical

comparison (5)

  • (^) 4. Drill down, roll up and other OLAP

operations on target and contrasting

classes to adjust levels of abstractions of

resulting description

  • (^) 5. Presentation
    • (^) as generalized relations, crosstabs, bar

charts, pie charts, or rules

  • (^) contrasting measures to reflect comparison

between target and contrasting classes

  • (^) e.g. count%

November 24, 2014 Data Mining: Concepts and 8

Quantitative Discriminant

Rules

  • (^) Cj = target class
  • (^) qa = a generalized tuple covers some tuples of class - (^) but can also cover some tuples of contrasting class
  • (^) d-weight
    • (^) range: [0, 1]
  • (^) quantitative discriminant rule form

     m i a i a j count(q C ) count(q C ) d weight 1  X, target_class(X)condition(X) [d : d_weight]

November 24, 2014 Data Mining: Concepts and 10

Class Description

  • (^) Quantitative characteristic rule
    • (^) necessary
  • (^) Quantitative discriminant rule
    • (^) sufficient
  • (^) Quantitative description rule
    • (^) necessary and sufficient 1 [t :w 1 ,d:w 1 ]... [t:wn,d:wn ]   condition (X) condition (X) X, target_cla ss(X) nX, target_class(X)condition(X) [d : d_weight]X, target_class(X)condition(X) [t : t_weight]

November 24, 2014 Data Mining: Concepts and 11 Example: Quantitative Description Rule

  • (^) Quantitative description rule for target class Europe Crosstab showing associated t-weight, d-weight values and total number (in thousands) of TVs and computers sold at AllElectronics in 1998 (item(X) "TV" ) [t :25%,d:40%] (item(X) "computer" ) [t:75%,d: 30%] X, Europe(X)     

November 24, 2014 Data Mining: Concepts and 13 Generalizing Spatial and Multimedia Data

  • (^) Spatial data:
    • (^) Generalize detailed geographic points into clustered regions, such as business, residential, industrial, or agricultural areas, according to land usage
    • (^) Require the merge of a set of geographic areas by spatial operations
  • (^) Image data:
    • (^) Extracted by aggregation and/or approximation
    • (^) Size, color, shape, texture, orientation, and relative positions and structures of the contained objects or regions in the image
  • (^) Music data:
    • (^) Summarize its melody: based on the approximate patterns that repeatedly occur in the segment
    • (^) Summarized its style: based on its tone, tempo, or the major musical instruments played

November 24, 2014 Data Mining: Concepts and 14

Generalizing Object

Data

  • (^) Object identifier: generalize to the lowest level of class in the class/subclass hierarchies
  • (^) Class composition hierarchies
    • (^) generalize nested structured data
    • (^) generalize only objects closely related in semantics to the current one
  • (^) Construction and mining of object cubes
    • (^) Extend the attribute-oriented induction method
      • (^) Apply a sequence of class-based generalization operators on different attributes
      • (^) Continue until getting a small number of generalized objects that can be summarized as a concise in high-level terms
    • (^) For efficient implementation
      • (^) Examine each attribute, generalize it to simple-valued data
      • (^) Construct a multidimensional data cube (object cube)
      • (^) Problem: it is not always desirable to generalize a set of values to single-valued data

November 24, 2014 Data Mining: Concepts and 16 A Travel Database for Plan Mining

  • (^) Example: Mining a travel planbase plan# action# departure depart_time arrival arrival_time airline … 1 1 ALB 800 JFK 900 TWA … 1 2 JFK 1000 ORD 1230 UA … 1 3 ORD 1300 LAX 1600 UA … 1 4 LAX 1710 SAN 1800 DAL … 2 1 SPI 900 ORD 950 AA … ........ ........ ........ airport_code city state region airport_size … 1 1 ALB 800 … 1 2 JFK 1000 … 1 3 ORD 1300 … 1 4 LAX 1710 … 2 1 SPI 900 … ..... ..... ..... Travel plans table Airport info table

November 24, 2014 Data Mining: Concepts and 17 Multidimensional Analysis

  • (^) Strategy
    • (^) Generalize the planbase in different directions
    • (^) Look for sequential patterns in the generalized plans
    • (^) Derive high- level plans A multi-D model for the planbase

November 24, 2014 Data Mining: Concepts and 19 Generalization-Based Sequence Mining

  • (^) Generalize planbase in multidimensional way using dimension tables
  • (^) Use # of distinct values (cardinality) at each level to determine the right level of generalization (level-“planning”)
  • (^) Use operators merge “+”, option “[]” to further generalize patterns
  • (^) Retain patterns with significant support

November 24, 2014 Data Mining: Concepts and 20 Generalized Sequence Patterns

  • (^) AirportSize-sequence survives the min threshold (after applying merge operator): S - L+ - S [35%], L+ - S [30%], S - L+^ [24.5%], L+^ [9%]
  • (^) After applying option operator: [S] - L+ -[ S] [98.5%]
    • (^) Most of the time, people fly via large airports to get to final destination
  • (^) Other plans: 1.5% of chances, there are other patterns: S - S , L - S-L