SlideShare ist ein Scribd-Unternehmen logo
1 von 17





Data preprocessing
Need
Importance
Major tasks in data preprocessing




Data preprocessing is a data mining technique that involves
transforming raw data into an understandable format.
Data in the real world is:
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



To get the required information from huge,
incomplete, noisy and inconsistent set of data
it is necessary to use data processing.


Data in the real world is dirty

Incomplete : lacking attribute values, lacking
certain attributes of interest, or containing only
aggregate data




e.g., occupation=“ ”

Noisy : containing errors or outliers


e.g., Salary=“-10”

 Inconsistent : containing discrepancies in codes or
names
 e.g., Age=“42” Birthday=“03/07/1997”
 e.g., Was rating “1,2,3”, now rating “A, B, C”
 Data

Cleaning

-Fill in missing values, smooth noisy data, identify or remove

outliers, and resolve inconsistencies

 Data

Integration

- Integration of multiple databases, data cubes, or files

 Data

Transformation

- Normalization and aggregation

 Data

Reduction

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

 Data

Discretization

-Part of data reduction but with particular importance,
especially for numerical data


Data cleaning tasks :
• Fill in missing values
• Identify outliers and smooth out noisy data
• Correct inconsistent data




Ignore the tuple
Fill in the missing value manually
Fill in it automatically with
- a global constant : e.g., “unknown”, a
new class?!
- the attribute mean for all samples
belonging to the same class: smarter
- the most probable value: inferencebased such as Bayesian formula or regression








Binning
-first sort data and partition into (equal-frequency) bins
-then one can smooth by bin means, smooth by bin
median, smooth by bin boundaries, etc.
Regression
-smooth by fitting the data into regression functions
Clustering
-detect and remove outliers
Combined computer and human inspection
-detect suspicious values and check by human (e.g.,
deal with possible outliers)








Data integration:
-Combines data from multiple sources into a coherent store
Schema integration: e.g., A.cust-id B.cust-#
-Integrate metadata from different sources
Entity identification problem:
-Identify real world entities from multiple data sources, e.g.,
Bill Clinton = William Clinton
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


Redundant data occur often when integration of multiple
databases

-Object identification: The same attribute or object may

have different names in different databases
-Derivable data: One attribute may be a “derived”
attribute in another table, e.g., annual revenue




Redundant attributes may be able to be detected by

correlation 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


Why data reduction?
A database/data 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


Obtain a reduced representation of the data set that
is much smaller in volume but yet produce the same
(or almost the same) analytical results
Data reduction strategies are:
 Aggregation
 Sampling
 Dimensionality Reduction
 Feature subset selection
 Feature creation
 Discretization and Binarization
 Attribute Transformation


Three types of attributes:
o Nominal — values from an unordered set
o Ordinal — values from an ordered set
o Continuous — real numbers



Discretization: divide the range of a continuous

attribute into intervals

-Some classification algorithms only accept
categorical attributes.
- Reduce data size by discretization
- Prepare for further analysis
Good data preparation is
key to producing valid and
reliable models!


http://www.slideshare.net/dataminingtools/d
ata-processing-5005815

Weitere ähnliche Inhalte

Was ist angesagt?

Data Preprocessing || Data Mining
Data Preprocessing || Data MiningData Preprocessing || Data Mining
Data Preprocessing || Data MiningIffat Firozy
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingSlideshare
 
data warehousing & minining 1st unit
data warehousing & minining 1st unitdata warehousing & minining 1st unit
data warehousing & minining 1st unitbhagathk
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingankur bhalla
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingkayathri02
 
03 preprocessing
03 preprocessing03 preprocessing
03 preprocessingpurnimatm
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingHarry Potter
 
Preprocessing
PreprocessingPreprocessing
Preprocessingmmuthuraj
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingHarry Potter
 

Was ist angesagt? (17)

Data PreProcessing
Data PreProcessingData PreProcessing
Data PreProcessing
 
Data preprocess
Data preprocessData preprocess
Data preprocess
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data Preprocessing || Data Mining
Data Preprocessing || Data MiningData Preprocessing || Data Mining
Data Preprocessing || Data Mining
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
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 ng
Data preprocessing   ngData preprocessing   ng
Data preprocessing ng
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data Mining: Data processing
Data Mining: Data processingData Mining: Data processing
Data Mining: Data processing
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
03 preprocessing
03 preprocessing03 preprocessing
03 preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Preprocessing
PreprocessingPreprocessing
Preprocessing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data1
Data1Data1
Data1
 

Andere mochten auch

1.2 steps and functionalities
1.2 steps and functionalities1.2 steps and functionalities
1.2 steps and functionalitiesRajendran
 
File 498 Doc 17 02dm Datapreprocessing 2
File 498 Doc 17 02dm Datapreprocessing 2File 498 Doc 17 02dm Datapreprocessing 2
File 498 Doc 17 02dm Datapreprocessing 2mupa
 
3 tier data warehouse
3 tier data warehouse3 tier data warehouse
3 tier data warehouseJ M
 

Andere mochten auch (9)

1.2 steps and functionalities
1.2 steps and functionalities1.2 steps and functionalities
1.2 steps and functionalities
 
File 498 Doc 17 02dm Datapreprocessing 2
File 498 Doc 17 02dm Datapreprocessing 2File 498 Doc 17 02dm Datapreprocessing 2
File 498 Doc 17 02dm Datapreprocessing 2
 
03. Data Preprocessing
03. Data Preprocessing03. Data Preprocessing
03. Data Preprocessing
 
DataPreProcessing
DataPreProcessing DataPreProcessing
DataPreProcessing
 
Unit 3 part i Data mining
Unit 3 part i Data miningUnit 3 part i Data mining
Unit 3 part i Data mining
 
Ghhh
GhhhGhhh
Ghhh
 
3 tier data warehouse
3 tier data warehouse3 tier data warehouse
3 tier data warehouse
 
OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 

Ähnlich wie Datapreprocessing

Data preprocessing
Data preprocessingData preprocessing
Data preprocessingextraganesh
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingTony Nguyen
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingJames Wong
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingFraboni Ec
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingHoang Nguyen
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingYoung Alista
 
data processing.pdf
data processing.pdfdata processing.pdf
data processing.pdfDimpyJindal4
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.pptRevathy V R
 
Data preprocessing ng
Data preprocessing   ngData preprocessing   ng
Data preprocessing ngsaranya12345
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingvenkadesh236
 
Data preprocessing ppt1
Data preprocessing ppt1Data preprocessing ppt1
Data preprocessing ppt1meenas06
 
ML-ChapterTwo-Data Preprocessing.ppt
ML-ChapterTwo-Data Preprocessing.pptML-ChapterTwo-Data Preprocessing.ppt
ML-ChapterTwo-Data Preprocessing.pptbelay41
 
Cssu dw dm
Cssu dw dmCssu dw dm
Cssu dw dmsumit621
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.pptchatbot9
 

Ähnlich wie Datapreprocessing (20)

Data1
Data1Data1
Data1
 
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
Data preprocessingData preprocessing
Data preprocessing
 
Assignmentdatamining
AssignmentdataminingAssignmentdatamining
Assignmentdatamining
 
data processing.pdf
data processing.pdfdata processing.pdf
data processing.pdf
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.ppt
 
Data preprocessing ng
Data preprocessing   ngData preprocessing   ng
Data preprocessing ng
 
Data processing
Data processingData processing
Data processing
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Data preprocessing ppt1
Data preprocessing ppt1Data preprocessing ppt1
Data preprocessing ppt1
 
ML-ChapterTwo-Data Preprocessing.ppt
ML-ChapterTwo-Data Preprocessing.pptML-ChapterTwo-Data Preprocessing.ppt
ML-ChapterTwo-Data Preprocessing.ppt
 
Cssu dw dm
Cssu dw dmCssu dw dm
Cssu dw dm
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.ppt
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.ppt
 
Preprocessing.ppt
Preprocessing.pptPreprocessing.ppt
Preprocessing.ppt
 

Mehr von priya_trehan

Mehr von priya_trehan (14)

Security Mechanisms
Security MechanismsSecurity Mechanisms
Security Mechanisms
 
Wordpress
WordpressWordpress
Wordpress
 
Types of E commerce & Payment Models
Types of E commerce & Payment ModelsTypes of E commerce & Payment Models
Types of E commerce & Payment Models
 
Friction as a necessary evil
Friction as a necessary evilFriction as a necessary evil
Friction as a necessary evil
 
Introduction to trees
 Introduction to trees Introduction to trees
Introduction to trees
 
File handling
File handlingFile handling
File handling
 
Johari window
Johari windowJohari window
Johari window
 
Input output
Input outputInput output
Input output
 
Silent sound technology
Silent sound technologySilent sound technology
Silent sound technology
 
Packages
PackagesPackages
Packages
 
Protocols
ProtocolsProtocols
Protocols
 
Kiosk
KioskKiosk
Kiosk
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
Art of listening
Art of listeningArt of listening
Art of listening
 

Kürzlich hochgeladen

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Kürzlich hochgeladen (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Datapreprocessing

  • 1.
  • 3.   Data preprocessing is a data mining technique that involves transforming raw data into an understandable format. Data in the real world is: 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.  To get the required information from huge, incomplete, noisy and inconsistent set of data it is necessary to use data processing.
  • 5.  Data in the real world is dirty  Incomplete : lacking attribute values, lacking certain attributes of interest, or containing only aggregate data   e.g., occupation=“ ” Noisy : containing errors or outliers  e.g., Salary=“-10”  Inconsistent : containing discrepancies in codes or names  e.g., Age=“42” Birthday=“03/07/1997”  e.g., Was rating “1,2,3”, now rating “A, B, C”
  • 6.  Data Cleaning -Fill in missing values, smooth noisy data, identify or remove outliers, and resolve inconsistencies  Data Integration - Integration of multiple databases, data cubes, or files  Data Transformation - Normalization and aggregation  Data Reduction -Obtains reduced representation in volume but produces the same or similar analytical results  Data Discretization -Part of data reduction but with particular importance, especially for numerical data
  • 7.  Data cleaning tasks : • Fill in missing values • Identify outliers and smooth out noisy data • Correct inconsistent data
  • 8.    Ignore the tuple Fill in the missing value manually Fill in it automatically with - a global constant : e.g., “unknown”, a new class?! - the attribute mean for all samples belonging to the same class: smarter - the most probable value: inferencebased such as Bayesian formula or regression
  • 9.     Binning -first sort data and partition into (equal-frequency) bins -then one can smooth by bin means, smooth by bin median, smooth by bin boundaries, etc. Regression -smooth by fitting the data into regression functions Clustering -detect and remove outliers Combined computer and human inspection -detect suspicious values and check by human (e.g., deal with possible outliers)
  • 10.     Data integration: -Combines data from multiple sources into a coherent store Schema integration: e.g., A.cust-id B.cust-# -Integrate metadata from different sources Entity identification problem: -Identify real world entities from multiple data sources, e.g., Bill Clinton = William Clinton 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
  • 11.  Redundant data occur often when integration of multiple databases -Object identification: The same attribute or object may have different names in different databases -Derivable data: One attribute may be a “derived” attribute in another table, e.g., annual revenue   Redundant attributes may be able to be detected by correlation analysis Careful integration of the data from multiple sources may help reduce/avoid redundancies and inconsistencies and improve mining speed and quality
  • 12.  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
  • 13.  Why data reduction? A database/data 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  Obtain a reduced representation of the data set that is much smaller in volume but yet produce the same (or almost the same) analytical results
  • 14. Data reduction strategies are:  Aggregation  Sampling  Dimensionality Reduction  Feature subset selection  Feature creation  Discretization and Binarization  Attribute Transformation
  • 15.  Three types of attributes: o Nominal — values from an unordered set o Ordinal — values from an ordered set o Continuous — real numbers  Discretization: divide the range of a continuous attribute into intervals -Some classification algorithms only accept categorical attributes. - Reduce data size by discretization - Prepare for further analysis
  • 16. Good data preparation is key to producing valid and reliable models!