Incorrect output error

Hi @Anjum_90,

Have you figured out your issue. The error is telling you that your code is not properly handling the case where the target is fully correlated. Did you pass all the unit tests? The grader runs different tests, so it’s possible for the unit tests to pass but for the grader to still find an issue. But the first step is to make sure your unit tests are passing. Make sure you read instructions carefully, and you can also use the hints if you get stuck.

Here’s another post with more details about this error: C2 W4: AssertionError: If the target is fully correlated with other feature, that feature must be the best split. Expected 1, got 0