Download Data Mining with Continuous Attributes and more Cheat Sheet Technology in PDF only on Docsity!
Continuous Attributes
ChiMerge Algorithm &
Discretization for Tree
Induction
What are Continuous
Attributes?
(^) Continuous attributes have an infinite range of numerical values.
(^) Examples: (^) Study Hours: 0–20 hours/week (^) Test Scores: 0–100%
(^) Discretization converts continuous attributes into intervals.
What is ChiMerge?
(^) A supervised discretization method based on the chi-squared test.
(^) Steps/flow:
(^) Start with unique values as individual intervals.
(^) Compute chi-squared values for adjacent intervals.
(^) Merge intervals with the smallest chi-squared value if below the threshold.
(^) Stop when all chi-squared values exceed the threshold.
The Contingency table
Example
Example
(^) Step 2 – Find ChiSquare for x attribute - (^) Let’s take Dataset 1 a d find the interval which is obtained by summing the adjacent rows and dividing by 2