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

3 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?

Calculating info gain

photo
From: ANONYMOUS  O.P.
Date: Mon 1st Jun, 4:23pm
Actions: 
        Login-to-reply

 

never mind I had done something wrong in a different part of the equation that wrecked it, 
the 0 values had nothing to do with it.

Calculating info gain

photo
From: Zeyi W.
Date: Mon 1st Jun, 8:27pm
Actions: 
        Login-to-reply

 

Sounds good. I am great that you persist on the problem, and figuring out the solution on your 
own--a crucial skill.
This Page


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