Data Warehousing and Data Mining · Unit 2 · 2 hrs
Introduction to Data Mining
Exam-focused notes for Introduction to Data Mining (Data Warehousing and Data Mining, CSC420): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.
Introduction to Data Mining in short
This unit introduces data mining itself: why it is used, what a data mining system looks like, the kinds of patterns it can extract, the KDD process it sits inside, how the objects it works on are described, and the practical issues and applications that surround it.
What this unit covers
- Motivation for data mining
- Introduction to data mining system
- Data mining functionalities
- KDD
- Data object and attribute types
- Statistical description of data
- Issues and Applications
KDD
2080 · 5 marks
How KDD differs from data mining? Explain various stages of KDD with suitable block diagram. [5]
Show solved answerHide answer
KDD vs Data Mining and Stages of KDD
How KDD Differs from Data Mining
KDD (Knowledge Discovery from Data) is the overall process of discovering useful knowledge from raw data. It is a complete, iterative, multi-step process.
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.
2076 · 5 marks
Differentiate between KDD and data mining. [5]
Show solved answerHide answer
Difference Between KDD and Data Mining
Definition
KDD (Knowledge Discovery from Databases) is the overall process of discovering useful, valid, and understandable knowledge from large amounts of data. It is a complete, iterative, and interactive process.
Data Mining is a single step within the KDD process where intelligent methods (algorithms) are applied to extract patterns from data.
As stated in the notes: "Data mining can be viewed as a step within a larger process called KDD."
Key Differences
| Basis | KDD | Data Mining |
|---|---|---|
| Scope | Broad, end-to-end process of knowledge discovery | A single core step within the KDD process |
| Nature | Iterative sequence of multiple steps | Application of intelligent algorithms to find patterns |
| Goal | To convert raw data into useful knowledge | To extract interesting patterns from preprocessed data |
| Steps Involved | Includes cleaning, integration, selection, transformation, mining, evaluation, and presentation | Focuses only on applying mining algorithms (association, classification, clustering, etc.) |
| User Involvement | Involves user at multiple stages | Primarily algorithmic and automated |
| Output | Final knowledge presented to users | Patterns or models (not yet validated knowledge) |
| Dependency | KDD cannot exist without data mining | Data mining can be studied independently |
KDD Process Steps (from notes)
The KDD process consists of the following iterative steps:
- Data Cleaning: Removing noise and inconsistent data
- Data Integration: Combining multiple data sources
- Data Selection: Retrieving data relevant to the analysis task
- Data Transformation: Transforming data into forms appropriate for mining
- Data Mining: Applying intelligent methods to extract data patterns
- Pattern Evaluation: Identifying truly interesting patterns based on interestingness measures
- Knowledge Presentation: Using visualization and knowledge representation techniques to present mined knowledge to users
Summary
KDD is the complete pipeline from raw data to final knowledge, while data mining is the core engine inside that pipeline responsible for pattern extraction. Without the surrounding KDD steps (cleaning, transformation, evaluation), data mining alone cannot produce reliable and meaningful knowledge.
2075 · 5 marks
How does KDD differ with data mining? Describe the stages of data mining. [5]
Data object and attribute types
2079 · 5 marks
Discuss different types of attributes with suitable example of each. [5]
Issues and Applications
2078 · 5 marks
When a pattern is said to be interesting? List the issues of data mining. [5]
2076 · 5 marks
Are the information given by data mining is always useful? What are the issues in data warehousing and data mining? [5]
Motivation for data mining
2076 · 5 marks
Give a syntax and example of data mining query language. [5]
Make Unit 2 stick
Practice CSC420 with flashcards & quizzes