CSC420 ยท 2078 ยท 5 marks
Define data discretization. Describe the tasks for data preprocessing.
Define data discretization. Describe the tasks for data preprocessing. [5]
Quick answer
Data discretization is a technique of data preprocessing that transforms continuous (numeric) data into discrete intervals or categories. Instead of working with raw continuous values, the data is divided into a finite number of intervals or bins, and each interval is assigned a label or concept.
Data Discretization and Data Preprocessing Tasks
Part 1: Data Discretization (Definition)
For example, a continuous attribute like age (values: 1 to 100) can be discretized into categories such as:
- Young: 1-30
- Middle-aged: 31-60
- Senior: 61-100
Discretization reduces the number of distinct values for a continuous attribute, making data easier to handle in mining tasks like classification and association analysis.
Part 2: Tasks for Data Preprocessing
Raw data collected from the environment can be dirty - meaning it is incomplete, noisy, or inconsistent. Poor quality data leads to poor quality mining results. Therefore, data preprocessing is a critical step in data mining.
The main tasks (categories) of data preprocessing are:
1. Data Cleaning
- The process of removing noise and inconsistent data from the dataset.
- Handles missing values, smooths noisy data, identifies or removes outliers, and resolves inconsistencies.
- Example: Filling in missing age values with the mean age of the dataset.
2. Data Integration
- The process of combining data from multiple sources (databases, files, data cubes) into a coherent data store.
- Handles issues like redundancy, duplicate records, and conflicting attribute names.
- Example: Merging customer data from two different databases into one unified dataset.
3. Data Transformation
- Data is transformed into forms appropriate for mining.
- Includes operations such as:
- Normalization: Scaling values to a small range (e.g., 0.0 to 1.0)
- Aggregation: Summarizing data
- Generalization: Replacing low-level data with higher-level concepts
- Example: Normalizing salary values so they fall between 0 and 1.
4. Data Reduction
- The process of reducing the volume of data while maintaining analytical integrity.
- Produces a reduced representation of the dataset that is much smaller in size yet produces the same (or nearly the same) analytical results.
- Techniques include: dimensionality reduction, numerosity reduction, and data compression.
- Example: Removing irrelevant attributes that do not contribute to the mining task.
5. Data Discretization
- Transforms continuous attributes into discrete intervals or categories as defined above.
- Reduces the number of distinct values for continuous attributes.
- Particularly useful for algorithms that require categorical data.
- Example: Converting income (continuous) into Low, Medium, High categories.
Summary Table
| Task | Purpose |
|---|---|
| Data Cleaning | Remove noise and inconsistencies |
| Data Integration | Combine multiple data sources |
| Data Transformation | Convert data into suitable forms |
| Data Reduction | Reduce data volume while preserving quality |
| Data Discretization | Convert continuous data into discrete intervals |
Note: Data preprocessing is one of the most critical steps in data mining because the quality of data directly affects the quality of the mining results.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.