C2_W3_Assignment Machine Learning Data Lifecycle in Production

Hi,

In the assignment for Week 3, grader is failing everything. Even feature selection is failing after I have got the expected output. Can somebody please have a look at the notebook: tynobnvdfzhe?

Thanks.

What’s the grader feedback?

I restarted everything and it worked. Thanks.

1 Like

But again, it is showing all the cases failing with the reason being:

There was a problem compiling the code from your notebook. Details:
‘NoneType’ object has no attribute ‘outputs’

Please click my name and message your notebook as an attachment.

If you submit to the grader without completing all exercises, unless there’s #grade-upto-here comment in the notebook for partial grading, you’ll receive 0 as the final score.

1 Like

I had put # grade-up-to-here after Exercise 8: Statistics with the new schema in the cell

context.show(statistics_gen_updated.outputs[‘statistics’])

So it does not work. If I move # grade-up-to-here in a previous cell which contains ### START CODE HERE ### and ### END CODE HERE ###, then it works. Thanks.

For # grade-up-to-here to work, it should be put at the end of the cell containing ### START CODE HERE ### and ### END CODE HERE ###.

“# grade up to here” is extremely unreliable. Sometimes it works, sometimes it doesn’t. Sometimes it works for some courses or labs, and then it doesn’t work for others.

I recommend you complete the entire notebook before you submit it for grading.