Professional Documents
Culture Documents
For Bin 2:
(21 + 21 + 24 + 26 / 4) = 23
Bin 2 = 23, 23, 23, 23
For Bin 3:
(27 + 30 + 30 + 34 / 4) = 30
Bin 3 = 30, 30, 30, 30
(ii)
Smoothing by bin median : In this method each bin value is replaced by its
bin median value.
Bin 1 : 12,12,12,12
Bin 2 : 22.5,22.5,22.5,22.5
Bin 3 : 30,30,30,30
Min—8
Max—16
(i) Check for the occurences between min I,e 8 and max I,e 16 for
all the numbers between min and max
(ii) Whichever has got the closest distance compared to the lower
or higher it will be replaced.
Hence 8,8,15,16
Hence 8,8,16,16
Hence 21,21,26,26
Bin 3: 27, 30, 30, 34
27,27,27,34
Bin 1: 3, 7, 8, 13
Bin 2: 22, 22, 22, 26
Bin 3: 26, 28, 30, 37
Bin 1: 8, 8, 8, 8
Bin 2: 23, 23, 23, 23
Bin 3: 30, 30, 30, 30
How to smooth the data by bin boundaries?
Bin 1: 3, 3, 3, 13
Bin 2: 22, 22, 22, 26
Bin 3: 26, 26, 26, 37
Question
1.If there is a attribute with height 100,102,110,113,123,143,116
Sort as:
100,102,110,113,116,123,143
Assume bins to be as 2 then
We can have as :
Bin 1: 100,102,110
Bin 2: 113,116,123,143
Rest of the concepts remain the same.
Reference :
https://t4tutorials.com/binning-methods-for-data-smoothing-in-data-
mining/