Discretization in data mining-Top-down mapping-Bottom-up mapping and Types of Discretization Methods
Discretization in data mining
Data discretization refers to a method of converting a huge number of data values into smaller ones so that the evaluation and management of data become easy. In other words, data discretization is a method of converting attributes values of continuous data into a finite set of intervals with minimum data loss. There are two forms of data discretization first is supervised discretization, and the second is unsupervised discretization. Supervised discretization refers to a method in which the class data is used. Unsupervised discretization refers to a method depending upon the way which operation proceeds. It means it works on the top-down splitting strategy and bottom-up merging strategy.
Now, we can understand this concept with the help of an example
Suppose we have an attribute of Age with the given values
Another example is analytics, where we gather the static data of website visitors. For example, all visitors who visit the site with the IP address of India are shown under country level.
Some Famous techniques of data discretization
1.Histogram analysis
2.Binning
3.Cluster Analysis
4.Data discretization using decision tree analysis
5.Data discretization using correlation analysis
Data discretization and concept hierarchy generation
The term hierarchy represents an organizational structure or mapping in which items are ranked according to their levels of importance. In other words, we can say that a hierarchy concept refers to a sequence of mappings with a set of more general concepts to complex concepts. It means mapping is done from low-level concepts to high-level concepts. For example, in computer science, there are different types of hierarchical systems. A document is placed in a folder in windows at a specific place in the tree structure is the best example of a computer hierarchical tree model. There are two types of hierarchy: top-down mapping and the second one is bottom-up mapping.
Let's understand this concept hierarchy for the dimension location with the help of an example.
A particular city can map with the belonging country. For example, New Delhi can be mapped to India, and India can be mapped to Asia.
Top-down mapping
Top-down mapping generally starts with the top with some general information and ends with the bottom to the specialized information.
Bottom-up mapping
Bottom-up mapping generally starts with the bottom with some specialized information and ends with the top to the generalized information.
Explanation :
Discretization in Data Mining
Discretization is an important preprocessing technique in data mining that involves converting continuous attributes or numerical data into discrete intervals or categories. This transformation simplifies data, making it easier to analyze, interpret, and apply various data mining algorithms, especially those that work better with categorical data, such as decision trees, rule-based classifiers, and association rule mining.
Purpose of Discretization
-
Simplifies Data Analysis:Continuous data often contains a wide range of values. Discretization reduces this complexity by grouping values into intervals, making patterns easier to detect.
-
Improves Algorithm Efficiency:Many algorithms perform better with categorical data since it reduces computational complexity and memory usage.
-
Enhances Interpretability:Discrete intervals, such as “low,” “medium,” and “high,” make results more understandable for decision-makers.
-
Handles Noisy Data:Grouping continuous values into intervals can reduce the effect of noise and minor fluctuations in the data.
Types of Discretization Methods
-
Equal-Width Binning (Interval Binning):Divides the range of a continuous attribute into equal-sized intervals. For example, ages 0–100 can be divided into intervals of 0–25, 26–50, 51–75, and 76–100.
-
Equal-Frequency Binning (Quantile Binning):Divides data so that each interval contains approximately the same number of data points. This method adapts to the distribution of the data.
-
Cluster-Based Discretization:Uses clustering algorithms like K-Means to group similar continuous values into clusters, which are then treated as discrete intervals.
-
Entropy-Based or Information-Theoretic Discretization:Uses the information gain criterion to create intervals that maximize the distinction between different target classes, improving classification accuracy.
-
Manual Discretization:Experts define intervals based on domain knowledge, which can be effective when there is prior understanding of data behavior.
Applications of Discretization
-
Classification: Helps decision trees and rule-based classifiers handle continuous features efficiently.
-
Association Rule Mining: Converts numerical data into categorical form for frequent pattern discovery.
-
Medical Diagnosis: Converts patient test values into categories like “normal” or “high-risk” for easy interpretation.
-
Market Analysis: Groups customer spending or age into meaningful intervals for segmentation.
Read More-


Comments
Post a Comment