CSC420 ยท 2080 ยท 5 marks
How KDD differs from data mining? Explain various stages of KDD with suitable block diagram.
How KDD differs from data mining? Explain various stages of KDD with suitable block diagram. [5]
Quick answer
KDD (Knowledge Discovery from Data) is the overall process of discovering useful knowledge from raw data. It is a complete, iterative, multi-step process.
KDD vs Data Mining and Stages of KDD
How KDD Differs from Data Mining
Data Mining is just one step within the larger KDD process, where intelligent methods (algorithms) are applied to extract patterns from prepared data.
| Basis | KDD | Data Mining |
|---|---|---|
| Scope | Entire process from raw data to knowledge | Only the pattern extraction step |
| Steps | Multiple stages (cleaning, integration, selection, transformation, mining, evaluation, presentation) | A single core step |
| Goal | Knowledge discovery | Pattern extraction |
| Nature | Broader, iterative process | Specific algorithmic task |
As stated in the notes: "Data mining can be viewed as a step within a larger process called KDD."
Stages of KDD
The KDD process is an iterative sequence of the following steps:
Block Diagram
+------------------+
| Raw Data |
| (Databases, |
| Files, etc.) |
+--------+---------+
|
v
+------------------+
| 1. Data |
| Cleaning |
+--------+---------+
|
v
+------------------+
| 2. Data |
| Integration |
+--------+---------+
|
v
+------------------+
| 3. Data |
| Selection |
+--------+---------+
|
v
+------------------+
| 4. Data |
| Transformation|
+--------+---------+
|
v
+------------------+
| 5. Data Mining | <--- Core Step
+--------+---------+
|
v
+------------------+
| 6. Pattern |
| Evaluation |
+--------+---------+
|
v
+------------------+
| 7. Knowledge |
| Presentation |
+------------------+
|
v
+------------------+
| Knowledge |
+------------------+
(The process is iterative: feedback can go back to any earlier stage.)
Explanation of Each Stage
1. Data Cleaning
- Process of removing noise and inconsistent data from the dataset.
- Example: Filling missing values, removing duplicate records.
2. Data Integration
- Process of combining multiple data sources into a coherent data store.
- Example: Merging data from different databases or files.
3. Data Selection
- Data relevant to the analysis task are retrieved from the database.
- Only the useful subset of data is selected for further processing.
4. Data Transformation
- Data are transformed into forms appropriate for mining.
- Example: Normalization, aggregation, or encoding of attributes.
5. Data Mining
- The core step where intelligent methods are applied to extract data patterns.
- Tasks include: association analysis, classification, clustering, evolution analysis, etc.
6. Pattern Evaluation
- Identify the truly interesting patterns representing knowledge based on interestingness measures (e.g., support, confidence).
- Filters out trivial or redundant patterns.
7. Knowledge Presentation
- Visualization and knowledge representation techniques are used to present mined knowledge to users.
- Example: Charts, graphs, decision trees, rules displayed to the end user.
Summary
KDD is the complete pipeline from raw data to actionable knowledge. Data mining is only step 5 in this pipeline. The entire KDD process is iterative, meaning results at any stage may require going back to a previous step to refine the outcome.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.