ML with Andrew Ng, Course#1, Week#2, Practice Lab Assignment

Hi everyone
I am facing an issue regarding the assignment mentioned above.
After submitting, I receive an error. " Comment line with index: UNQ_C1 wasn’t found in code"
Can someone help me with this?

1 Like

Hi @Muhammad_Umer_Mujahi

Welcome to the community.

The UNQ_C1 included on the top of the assignment code cell helps the grader to identifying your solution code.

Make sure not to modifying the code in order to grader found your solution.

A possible solution is to restart the kernel and clean all the outputs and try again.

Let me know the results.

1 Like

I cleaned all outputs, restarted kernal and started again, All solutions are correct after testing, still same error

2 Likes

Please check this.

Watch this video, everything is as it is.
Just a code is added.
Link: Week 2 practice lab_ Linear regression _ Coursera and 4 more pages - Personal - Microsoft​ Edge 2023-12-02 15-38-11.mp4 (dropbox.com)

1 Like

I don’t see any issue with your notebook. Maybe getting a fresh copy and then doing your code again would help. Check this guide on how to get a fresh copy. Make sure not to change/delete any of the pre-written code or cell.

1 Like


Now I am getting this error

Are you passing all the tests?

Yes, you can see attached video.

1 Like

Can I get the oldest file? I turned on Autosave and now I can’t get back to original file, idk why.

1 Like

OK. I will leave here and wait for official mentors to respond.

You can access your old file by clicking on the Jupyter Notebook logo.

Done sir, thank you so much

2 Likes