I have tried everything, re checked multiple times, I have passed my previous exercises, cant seem to find any issue as to why my code isnt computing the right information gain. Someone Please Help.
2 Likes
(edited)
1 Like
One key element in compute_information_gain() is that your compute_entropy() code has to correctly handle cases where the length of y is zero.
Thank you for your great tips. Problem solved.