SlideShare a Scribd company logo








Data preprocessing is a data mining technique
that involves transforming raw data into an
understandable format.
Data preprocessing is a proven method of
resolving such issues.
Data preprocessing prepares raw data for
further processing.
Data preprocessing is used database-driven
applications such as customer relationship
management and rule-based applications (like
neural networks).


Preprocess Steps


Data cleaning



Data integration



Datatransformation



Data reduction




Data in the real world is dirty
 incomplete: lacking attribute values, lacking certain
attributes of interest, or containing only aggregate
data
 noisy: containing errors or outliers
 inconsistent: containing discrepancies in codes or
names
No quality data, no quality mining results!
 Quality decisions must be based on quality data
 Data warehouse needs consistent integration of
quality data


A well-accepted multidimensional view:
Accuracy
 Completeness
 Consistency
 Timeliness
 Believability
 Value added
 Interpretability
 Accessibility



Data cleaning




Data integration




Integration of multiple databases, data cubes, or files

Data transformation




Fill in missing values, smooth noisy data, identify or remove
outliers, and resolve inconsistencies

Normalization and aggregation

Data reduction


Obtains reduced representation in volume but produces the
same or similar analytical results


Data cleaning tasks


Fill in missing values



Identify outliers and smooth out noisy data



Correct inconsistent data


Data is not always available




E.g., many tuples have no recorded value for several
attributes, such as customer income in sales data

Missing data may be due to



inconsistent with other recorded data and thus deleted



data not entered due to misunderstanding



certain data may not be considered important at the time of
entry




equipment malfunction

not register history or changes of the data

Missing data may need to be inferred.


Ignore the tuple: usually done when class label is missing
(assuming the tasks in classification—not effective when the
percentage of missing values per attribute varies considerably.



Fill in the missing value manually: tedious + infeasible?



Use a global constant to fill in the missing value: e.g., “unknown”,
a new class?!



Use the attribute mean to fill in the missing value



Use the attribute mean for all samples belonging to the same class
to fill in the missing value: smarter



Use the most probable value to fill in the missing value: inferencebased such as Bayesian formula or decision tree





Noise: random error or variance in a measured variable
Incorrect attribute values may due to
 faulty data collection instruments
 data entry problems
 data transmission problems
 technology limitation
 inconsistency in naming convention
Other data problems which requires data cleaning
 duplicate records
 incomplete data
 inconsistent data


Binning method:
 first sort data and partition into (equi-depth) bins
 then one can smooth by bin means, smooth by bin
median
 Equal-width (distance) partitioning:

 It divides the range into N intervals of equal size: uniform grid
 if A and B are the lowest and highest values of the attribute,

the width of intervals will be: W = (B-A)/N.



Equal-depth (frequency) partitioning:

 It divides the range into N intervals, each containing

approximately same number of samples
 Managing categorical attributes can be tricky.


Combined computer and human inspection
 detect suspicious values and check by human
Clustering: detect and remove outliers
y
Regression:
smooth by fitting the
data into regression
functions

Y1

y=x+1

Y1’

X1

x




Data integration:
 combines data from multiple sources.
 Schema integration
 integrate metadata from different sources
 Entity identification problem: identify real world
entities from multiple data sources, e.g., A.cust-id ≡
B.cust-#
Detecting and resolving data value conflicts
 for the same real world entity, attribute values from
different sources are different
 possible reasons: different representations, different
scales, e.g., metric vs. British units


Redundant data occur often when integration of multiple
databases




One attribute may be a “derived” attribute in another
table.





The same attribute may have different names in
different databases

Redundant data may be able to be detected by
correlational analysis

Careful integration of the data from multiple sources
may help reduce/avoid redundancies and
inconsistencies and improve mining speed and quality







Smoothing: remove noise from data
Aggregation: summarization, data cube construction
Generalization: concept hierarchy climbing
Normalization: scaled to fall within a small, specified
range
 min-max normalization
 z-score normalization
 normalization by decimal scaling
Attribute/feature construction
 New attributes constructed from the given ones


min-max normalization


Min-max normalization performs a linear
transformation on the original data.



Suppose that mina and maxa are the minimum and
the maximum values for attribute A. Min-max
normalization maps a value v of A to v’ in the range
[new-mina, new-maxa] by computing:
 v’= ( (v-mina) / (maxa – mina) ) * (new-maxa – newmina)+

new-mina


Z-score Normalization:


In z-score normalization, attribute A are normalized
based on the mean and standard deviation of A. a
value v of A is normalized to v’ by computing:
 v’ = ( ( v – ) / A )



where and A are the mean and the standard
deviation respectively of attribute A.



This method of normalization is useful when the
actual minimum and maximum of attribute A are
unknown.


Normalization by Decimal Scaling


Normalization by decimal scaling normalizes by
moving the decimal point of values of attribute A.



The number of decimal points moved depends on
the maximum absolute value of A.



a value v of A is normalized to v’ by computing: v’
= ( v / 10j ). Where j is the smallest integer such that
Max(|v’|)<1.


Warehouse may store terabytes of data: Complex data
analysis/mining may take a very long time to run on the
complete data set



Data reduction
 Obtains a reduced representation of the data set that is
much smaller in volume but yet produces the same (or
almost the same) analytical results



Data reduction strategies
 Data cube aggregation
 Dimensionality reduction
 concept hierarchy generation

More Related Content

What's hot

03 preprocessing
03 preprocessing03 preprocessing
03 preprocessing
purnimatm
 
Data pre processing
Data pre processingData pre processing
Data pre processing
junnubabu
 
Data preprocess
Data preprocessData preprocess
Data preprocess
srigiridharan92
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Amuthamca
 
data warehousing & minining 1st unit
data warehousing & minining 1st unitdata warehousing & minining 1st unit
data warehousing & minining 1st unit
bhagathk
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
dineshbabuspr
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
ksamyMCA
 
Data Reduction Stratergies
Data Reduction StratergiesData Reduction Stratergies
Data Reduction Stratergies
AnjaliSoorej
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Harry Potter
 
Data preprocessing and unsupervised learning methods in Bioinformatics
Data preprocessing and unsupervised learning methods in BioinformaticsData preprocessing and unsupervised learning methods in Bioinformatics
Data preprocessing and unsupervised learning methods in Bioinformatics
Elena Sügis
 
Statistics and Data Mining
Statistics and  Data MiningStatistics and  Data Mining
Statistics and Data Mining
R A Akerkar
 
Data reduction
Data reductionData reduction
Data reduction
GowriLatha1
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Vikran Kottaisamy
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Harry Potter
 
4 preprocess
4 preprocess4 preprocess
4 preprocess
anita desiani
 

What's hot (15)

03 preprocessing
03 preprocessing03 preprocessing
03 preprocessing
 
Data pre processing
Data pre processingData pre processing
Data pre processing
 
Data preprocess
Data preprocessData preprocess
Data preprocess
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
data warehousing & minining 1st unit
data warehousing & minining 1st unitdata warehousing & minining 1st unit
data warehousing & minining 1st unit
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data Reduction Stratergies
Data Reduction StratergiesData Reduction Stratergies
Data Reduction Stratergies
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing and unsupervised learning methods in Bioinformatics
Data preprocessing and unsupervised learning methods in BioinformaticsData preprocessing and unsupervised learning methods in Bioinformatics
Data preprocessing and unsupervised learning methods in Bioinformatics
 
Statistics and Data Mining
Statistics and  Data MiningStatistics and  Data Mining
Statistics and Data Mining
 
Data reduction
Data reductionData reduction
Data reduction
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
4 preprocess
4 preprocess4 preprocess
4 preprocess
 

Viewers also liked

12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
Акт ФСПП Лазарь Шаулов
Акт ФСПП Лазарь ШауловАкт ФСПП Лазарь Шаулов
Акт ФСПП Лазарь Шаулов
lazarbenshaul
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
Transmission media.nw
Transmission media.nwTransmission media.nw
Transmission media.nw
tdharmaputhiran
 
Chocolat pelikula
Chocolat pelikulaChocolat pelikula
Chocolat pelikula
Ande_Azpitarte
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
tdharmaputhiran
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
INCUBUS CONSULTING
 

Viewers also liked (20)

12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
Акт ФСПП Лазарь Шаулов
Акт ФСПП Лазарь ШауловАкт ФСПП Лазарь Шаулов
Акт ФСПП Лазарь Шаулов
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
Transmission media.nw
Transmission media.nwTransmission media.nw
Transmission media.nw
 
Chocolat pelikula
Chocolat pelikulaChocolat pelikula
Chocolat pelikula
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
12% Assured Return on Property in Noida Expressway “Cosmic Corporate Park-2”@...
 

Similar to Preprocessing

Datapreprocessing
DatapreprocessingDatapreprocessing
Datapreprocessing
Chandrika Sweety
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Tony Nguyen
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
James Wong
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Young Alista
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Luis Goldster
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Fraboni Ec
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Hoang Nguyen
 
Data preprocessing in Data Mining
Data preprocessing in Data MiningData preprocessing in Data Mining
Data preprocessing in Data Mining
DHIVYADEVAKI
 
Data preperation
Data preperationData preperation
Data preperation
Hoang Nguyen
 
Data preperation
Data preperationData preperation
Data preperation
Fraboni Ec
 
Data preperation
Data preperationData preperation
Data preperation
Luis Goldster
 
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
ImXaib
 
Data preparation
Data preparationData preparation
Data preparation
Young Alista
 
Data preparation
Data preparationData preparation
Data preparation
James Wong
 
Data preparation
Data preparationData preparation
Data preparation
Tony Nguyen
 
Data preparation
Data preparationData preparation
Data preparation
Harry Potter
 
Data preprocessing ng
Data preprocessing   ngData preprocessing   ng
Data preprocessing ng
saranya12345
 
Data Mining
Data MiningData Mining
Data Mining
Jay Nagar
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Manikandan Tamilselvan
 
data processing.pdf
data processing.pdfdata processing.pdf
data processing.pdf
DimpyJindal4
 

Similar to Preprocessing (20)

Datapreprocessing
DatapreprocessingDatapreprocessing
Datapreprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing in Data Mining
Data preprocessing in Data MiningData preprocessing in Data Mining
Data preprocessing in Data Mining
 
Data preperation
Data preperationData preperation
Data preperation
 
Data preperation
Data preperationData preperation
Data preperation
 
Data preperation
Data preperationData preperation
Data preperation
 
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
prvg4sczsginx3ynyqlc-signature-b84f0cf1da1e7d0fde4ecfab2a28f243cfa561f9aa2c9b...
 
Data preparation
Data preparationData preparation
Data preparation
 
Data preparation
Data preparationData preparation
Data preparation
 
Data preparation
Data preparationData preparation
Data preparation
 
Data preparation
Data preparationData preparation
Data preparation
 
Data preprocessing ng
Data preprocessing   ngData preprocessing   ng
Data preprocessing ng
 
Data Mining
Data MiningData Mining
Data Mining
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
data processing.pdf
data processing.pdfdata processing.pdf
data processing.pdf
 

Recently uploaded

Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 

Recently uploaded (20)

Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 

Preprocessing

  • 1.     Data preprocessing is a data mining technique that involves transforming raw data into an understandable format. Data preprocessing is a proven method of resolving such issues. Data preprocessing prepares raw data for further processing. Data preprocessing is used database-driven applications such as customer relationship management and rule-based applications (like neural networks).
  • 2.  Preprocess Steps  Data cleaning  Data integration  Datatransformation  Data reduction
  • 3.   Data in the real world is dirty  incomplete: lacking attribute values, lacking certain attributes of interest, or containing only aggregate data  noisy: containing errors or outliers  inconsistent: containing discrepancies in codes or names No quality data, no quality mining results!  Quality decisions must be based on quality data  Data warehouse needs consistent integration of quality data
  • 4.  A well-accepted multidimensional view: Accuracy  Completeness  Consistency  Timeliness  Believability  Value added  Interpretability  Accessibility 
  • 5.  Data cleaning   Data integration   Integration of multiple databases, data cubes, or files Data transformation   Fill in missing values, smooth noisy data, identify or remove outliers, and resolve inconsistencies Normalization and aggregation Data reduction  Obtains reduced representation in volume but produces the same or similar analytical results
  • 6.
  • 7.  Data cleaning tasks  Fill in missing values  Identify outliers and smooth out noisy data  Correct inconsistent data
  • 8.  Data is not always available   E.g., many tuples have no recorded value for several attributes, such as customer income in sales data Missing data may be due to   inconsistent with other recorded data and thus deleted  data not entered due to misunderstanding  certain data may not be considered important at the time of entry   equipment malfunction not register history or changes of the data Missing data may need to be inferred.
  • 9.  Ignore the tuple: usually done when class label is missing (assuming the tasks in classification—not effective when the percentage of missing values per attribute varies considerably.  Fill in the missing value manually: tedious + infeasible?  Use a global constant to fill in the missing value: e.g., “unknown”, a new class?!  Use the attribute mean to fill in the missing value  Use the attribute mean for all samples belonging to the same class to fill in the missing value: smarter  Use the most probable value to fill in the missing value: inferencebased such as Bayesian formula or decision tree
  • 10.    Noise: random error or variance in a measured variable Incorrect attribute values may due to  faulty data collection instruments  data entry problems  data transmission problems  technology limitation  inconsistency in naming convention Other data problems which requires data cleaning  duplicate records  incomplete data  inconsistent data
  • 11.  Binning method:  first sort data and partition into (equi-depth) bins  then one can smooth by bin means, smooth by bin median  Equal-width (distance) partitioning:  It divides the range into N intervals of equal size: uniform grid  if A and B are the lowest and highest values of the attribute, the width of intervals will be: W = (B-A)/N.  Equal-depth (frequency) partitioning:  It divides the range into N intervals, each containing approximately same number of samples  Managing categorical attributes can be tricky.  Combined computer and human inspection  detect suspicious values and check by human
  • 12. Clustering: detect and remove outliers
  • 13. y Regression: smooth by fitting the data into regression functions Y1 y=x+1 Y1’ X1 x
  • 14.   Data integration:  combines data from multiple sources.  Schema integration  integrate metadata from different sources  Entity identification problem: identify real world entities from multiple data sources, e.g., A.cust-id ≡ B.cust-# Detecting and resolving data value conflicts  for the same real world entity, attribute values from different sources are different  possible reasons: different representations, different scales, e.g., metric vs. British units
  • 15.  Redundant data occur often when integration of multiple databases   One attribute may be a “derived” attribute in another table.   The same attribute may have different names in different databases Redundant data may be able to be detected by correlational analysis Careful integration of the data from multiple sources may help reduce/avoid redundancies and inconsistencies and improve mining speed and quality
  • 16.      Smoothing: remove noise from data Aggregation: summarization, data cube construction Generalization: concept hierarchy climbing Normalization: scaled to fall within a small, specified range  min-max normalization  z-score normalization  normalization by decimal scaling Attribute/feature construction  New attributes constructed from the given ones
  • 17.  min-max normalization  Min-max normalization performs a linear transformation on the original data.  Suppose that mina and maxa are the minimum and the maximum values for attribute A. Min-max normalization maps a value v of A to v’ in the range [new-mina, new-maxa] by computing:  v’= ( (v-mina) / (maxa – mina) ) * (new-maxa – newmina)+ new-mina
  • 18.  Z-score Normalization:  In z-score normalization, attribute A are normalized based on the mean and standard deviation of A. a value v of A is normalized to v’ by computing:  v’ = ( ( v – ) / A )  where and A are the mean and the standard deviation respectively of attribute A.  This method of normalization is useful when the actual minimum and maximum of attribute A are unknown.
  • 19.  Normalization by Decimal Scaling  Normalization by decimal scaling normalizes by moving the decimal point of values of attribute A.  The number of decimal points moved depends on the maximum absolute value of A.  a value v of A is normalized to v’ by computing: v’ = ( v / 10j ). Where j is the smallest integer such that Max(|v’|)<1.
  • 20.  Warehouse may store terabytes of data: Complex data analysis/mining may take a very long time to run on the complete data set  Data reduction  Obtains a reduced representation of the data set that is much smaller in volume but yet produces the same (or almost the same) analytical results  Data reduction strategies  Data cube aggregation  Dimensionality reduction  concept hierarchy generation