Description (include relevant info but please do not post solution code or your entire notebook): I am unable to submit my lab as I keep getting assertion error, I tried multiple times and rechecked the code but still kept getting this error.
Error: “if the target is fully correlated with other feature, that feature must be the best split. Expected 0, got 1”.
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.