Regarding Machine Learning Specialization course Week 2: Regression with multiple input variables, I Completed the assignment and pass the test, but when I submitted the assignment, I can’t pass the check. Could you help check if any bug in submission system?
It seems from the feedback of the grader your solutions do not generalize for all the grader tests, it means that your solution is not good enough! Perhaps trying again especially for the tests cases given in the grader feedback!
The grader uses different tests than those in the notebook.
Just passing the notebook’s tests does not prove your code will work in all situations.
In general in all the assignments in these courses, it is frequently possible to write non-general code that works with one test case and not different test cases in the grader. But the code required here in this assignment is pretty straightforward. They also give you pretty explicit hints, if you clicked on those.
There is potentially another simpler explanation for the grader failure: perhaps you didn’t click “Save” before you submitted and the grader is getting an older and incomplete version of your code.
One experiment to try would be:
Kernel -> Restart and Clear Output
Cell -> Run All
Now go through the notebook carefully and make sure you still passed all the tests. If so, then do:
Save
Submit Assignment
Please try that and let us know if that changes the results or not.



