Week-2 Assignment: Linear Regression

I am pretty sure I done the assignment correctly, however I am recieving the message from Autograder:
Comment line with index: UNQ_C1 wasn’t found in code

I am not sure how to solve this issue.

please help.

Thanks,

Hi @HASSAN_MORIE

Welcome to the community.

Some assert tests have code comments that cannot be changed to run the tests.

Could you please share a screenshot of this error, so i can look for something related?

best regards
elirod

Hi Elirod,
Thanks for your prompt response.
when I run all codes in the practice lab i haven’t recieved any error message. Only when I submit my assignment I recieve this message form auto grader:
Comment line with index: UNQ_C1 wasn’t found in code
I can send a html file for the whole lab if it is acceptable.

Regards,

Yes, please!

Send me your notebooks that i will see if i can find something.

To do that, just click in my profile picture and hit the message button.

Thanks!

Hi @HASSAN_MORIE

I found a possible cause regards this issue.

On the first line of exercice 1 we got this:

# UNQ_C1_train <--- change this line 
# GRADED FUNCTION: compute_cost

I think it should be this:

# UNQ_C1 <--- To this line
# GRADED FUNCTION: compute_cost

Try to change the line one as a mention above and let me know the results

Best regards

you are right, problem solved.

Thank you very much

1 Like

Hi @HASSAN_MORIE

So glad that i was able to help you.

Please, don’t forget to mark the answer as a solution. This takes the answer to the top of the discussion. It could be helpful to other learners.