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.