UNQ_C3; Information gain unit test assertion error

My code generates the correct information gain for brown cap, stalk shape, and solitary but it’s failing one of the unit tests. I just wanted to confirm it’s not an error.
AssertionError: Wrong information gain. Expected 0.311278 got: 0.4199730940219749

the rest of the code passes all unit tests.

I found the problem and fixed it.

Hey Harsha,

I got the same exact error, could you please share some tips on how you managed to solve it? That would be very helpful.

Thank you

Problem resolved by learner.