Neural Networks and Deep Learning, week 3

All my outputs match the expected output and none are flagged as incorrect, but the automated grader says there are two incorrect cells. It doesn’t say what cells (:slight_smile:

All outputs I looked at match the expected output. The word “incorrect” does not appear.

Why do I not get full credit?

Please provide the grader output here.


Filename: nbgrader-part

63/100Score: 63 of 100

Hide grader output

Grader output

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W3A1/Planar_data_classification_with_one_hidden_layer.ipynb’ [ValidateApp | INFO] Executing notebook with kernel: python3 Tests failed on 3 cell(s)! These tests could be hidden. Please check your submission.

Check if you’ve completed all the exercises and also check if you’ve mistakenly modified any original code.

It looks like I have not missed anything and the ungraded cells appear unchanged. I suppose we could reset the workbook to original state and start over. i tried to do that before and the procedure provided did not work - nothing happened.

To reset the assignment.

  1. Click “File”
  2. Click “Open”
  3. Select the ipynb file by clicking the checkbox.
  4. Click “shutdown” on the top bar if it is running.
  5. Click “rename” and rename it to anything
  6. Open the assignment from the Assignment Page.
  7. add “?forceRefresh=true” without the quotes at the end of the URL.
1 Like

OK I reset the notebook and pasted my code back in, taking care to avoid anything I wasn’t supposed to edit. It runs with all tests passed but still only gets a score of 63/100 (same grader output)

Thanks for looking at this with me

1 Like

Don’t paste the code from old code. Try writing the code from scratch. Unfortunately I can not help you with the code because of Coursera Honor Code. Try Direct Messaging one of the Mentors from this forum.

thanks @nero.

@phoenix-anna if you can share a snippit of your code and the autograder output of the exercise, the coaches might be able to give you a hint, or if there is an error in the grader, can help you refer to the Coursera Help Center.

Regards Stephanus

1 Like

I had hardcoded a couple of values and that is what was triggering the autograder. The defect in the autograder was only that it would not identify where my code was misbehaving - it only said there were three bad cells.

Once I fixed the hard-coded values, the submission passed.

Ok great @phoenix-anna that you were able to resolve!

And the issue with the grader has been reported

Thanks @phoenix-anna