Docsity

Data Minining - Descriptive data summarization, Study notes of Data Mining

Toggle sidebar
bg1
November 25, 2014 Data Mining: Concepts and
Techniques 1
CHAPTER 2: Data
Preprocessing
•Why preprocess the data?
•Descriptive data summarization
•Data cleaning
•Data integration and transformation
•Data reduction
•Discretization and concept hierarchy
generation
•Summary
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Data Minining - Descriptive data summarization and more Study notes Data Mining in PDF only on Docsity!

November 25, 2014 Data Mining: Concepts and 1

CHAPTER 2: Data

Preprocessing

• Why preprocess the data?

• Descriptive data summarization

• Data cleaning

• Data integration and transformation

• Data reduction

• Discretization and concept hierarchy

generation

• Summary

November 25, 2014 Data Mining: Concepts and 2

Mining Data Descriptive

Characteristics

  • (^) Motivation
    • (^) To better understand the data: central tendency, variation and spread
    • (^) Data Descriptive summarization techniques can be used to identify the typical properties of your data and highlight which data values should be treated as noise or outliers.
    • (^) Distributive (sum, count) / Algebraic (mean) / Holistic (median) Measure
    • (^) Two Types/ Ways
  • (^) Measuring the Central Tendency Characteristics
    • (^) median, mean, mode ,max, min, weighted arithmetic mean etc.  (^) Measuring Data dispersion characteristics
    • (^) Boxplot or quartile analysis on sorted intervals, interquartile range, variance

November 25, 2014 Data Mining: Concepts and 4

Symmetric vs. Skewed

Data

  • (^) Median, mean and mode of symmetric, positively and negatively skewed data

November 25, 2014 Data Mining: Concepts and 5

Measuring the Dispersion of Data

  • (^) Range, Quartiles, outliers and boxplots
    • (^) Range : Difference between largest (max()) and smallest (min()) values.
    • (^) Quartiles: Q 1 (25th^ percentile),median, Q 3 (75th^ percentile)
    • (^) Inter-quartile range: IQR = Q 3 – Q 1
    • (^) Five number summary: min, Q 1 , M, Q 3 , max
    • (^) Boxplot: ends of the box are the quartiles, median is marked, whiskers, and plot outlier individually
    • (^) Outlier: usually, a value higher/lower than 1.5 x IQR
  • (^) Variance and standard deviation ( sample: s, population: σ)
    • (^) Variance: (algebraic, scalable computation)
    • (^) Standard deviation s (or σ) is the square root of variance s2 (or σ2)             n i n i i i n i i x n x n x x n s 1 1 (^22) 1 2 2 ( ) ] 1 [ 1 1 ( ) 1 1    

n i i n i

i x

N

x

N 1

(^22) 1

  

November 25, 2014 Data Mining: Concepts and 7

Graphic Displays of Basic Statistical

Descriptions

 Histogram:

 Boxplot:

 Quantile plot: each value x

i is paired with^ fi indicating that

approximately 100 fi % of data are  xi

 Quantile-quantile (q-q) plot: graphs the quantiles of one univariant

distribution against the corresponding quantiles of another

 Scatter plot: each pair of values is a pair of coordinates and plotted

as points in the plane

 Loess (local regression) curve: add a smooth curve to a scatter plot

to provide better perception of the pattern of dependence

November 25, 2014 Data Mining: Concepts and 8 Boxplot Analysis

  • (^) Five-number summary of a distribution: Minimum, Q1, M, Q3, Maximum
  • (^) Boxplot
    • (^) Data is represented with a box
    • (^) The ends of the box are at the first and third quartiles, i.e., the height of the box is IRQ
    • (^) The median is marked by a line within the box
    • (^) Whiskers: two lines outside the box extend to Minimum and Maximum

November 25, 2014 Data Mining: Concepts and 10 Histogram Analysis

  • (^) Graph displays of basic statistical class descriptions - (^) Frequency histograms - (^) A univariate graphical method - (^) Consists of a set of rectangles that reflect the counts or frequencies of the classes present in the given data

November 25, 2014 Data Mining: Concepts and 11

Quantile Plot

  • (^) Displays all of the data (allowing the user to assess both the overall behavior and unusual occurrences)
  • (^) Plots quantile information
    • For a data xi data sorted in increasing order, fi indicates that approximately 100 fi % of the data are below or equal to the value xi

November 25, 2014 Data Mining: Concepts and 13

Scatter plot

• Provides a first look at bivariate data to see

clusters of points, outliers, etc

• Each pair of values is treated as a pair of

coordinates and plotted as points in the plane

November 25, 2014 Data Mining: Concepts and 14

Loess Curve

  • (^) Adds a smooth curve to a scatter plot in order to provide better perception of the pattern of dependence
  • (^) Loess curve is fitted by setting two parameters: αa smoothing parameter(values between ¼ & 1), and λ the degree of the polynomials that are fitted by the regression(can be 1 or 2)

November 25, 2014 Data Mining: Concepts and 16

Not Correlated Data