Title | DM HW 3 - Homework Assignment - 3 Solutions |
---|---|
Author | Kevin Shah |
Course | Data Mining |
Institution | New Jersey Institute of Technology |
Pages | 1 |
File Size | 97.2 KB |
File Type | |
Total Downloads | 51 |
Total Views | 131 |
Homework Assignment - 3 Solutions...
CS 634: DATA MINING Kevin Shah HOMEWORK – 3
Import the Dataset into R Studio.
1. Implement Chi-Merge. A: Steps to Implement Chi-Merge: 1) Sort the data in an ascending order based on the attribute’s values. 2) Define each distinct value in the attribute as an interval on its own. 3) Calculate the various class frequencies for each distinct attribute values and store them in a frequency table. 4) Now, compute the Chi-square values for each of the adjacent rows in the frequency table. 5) Then, merge adjacent rows with the smallest Chi square value, leading into a new frequency table. 6) Lastly, keep repeating the steps 4 & 5 until all the Chi-Square is larger than threshold value.
1 | Pa ge...