Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3401


This forum is provided to promote discussion amongst students enrolled in Data Warehousing (CITS3401).
 
Options:
RSS cloud
Jump to:

Calculating info gain

1 of 259 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Mon 1st Jun, 3:56pm
Actions: 
        Login-to-reply

 

Hi,

When calculating info gain by hand, how do we deal with calculating the entropy for 
data that has 0 yes or no values? If I enter a 0 when calculating the log2, I end up 
with a math error on my calculator and then can't move forward in the calculations? 
For example in the 2019 paper, there are 0 youth that buy computers, and 0 middle aged 
not buying a computer. When I use this to calculate the entropy of these I get math 
error. Is there something I've missed?

Related articles

Calculating info gain (all 3) RSS
├─ THIS   Mon 1st Jun, 3:56pm, ANONYMOUS
├─ reply 1   Mon 1st Jun, 4:23pm, ANONYMOUS  O.P.
└─ reply 2   Mon 1st Jun, 8:27pm, Zeyi W.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  5:31am Aug 04 2020