Course 2, Week 4 Lab - Task 4

I got this kind of error, so I can not fully understand what went wrong

Also I completed tasks 1-3 correctly (All tests passed), but when I try to sumbit it, I keep recieving 0%

Hi @karibay,

I suggest you click “Open” > “File” > “” and look for the get_best_split_test function that contains the test case responsible for the error. You see that the test case has only 5 data points so it’s completely possible to run through your code on the case in mind or on paper to find out which step went wrong. It is a nice way to debug and being able to debug is important :wink:


Thank you for advice. PS solved the problem

1 Like