Decision trees practice lab issue

In the Decision trees practice lab, compute_information_gain unit tests are passing in the Jupyter notebook but the grading is failing with this error

Is there a way to reset the lab’s jupyter notebook to its intial version with the original files. I think the issue is with files cache in pycache.

Hi @rqasmieh

Yes, you can revert your notebook back to its basic version anytime using FileRevert to Checkpoint.

Btw, make sure your code handles general cases and avoids hard-coding values. Passing the test cases does not guarantee a full mark from the grader, so try debugging your code to find the source of any problems.

Hope it helps!