I am pretty sure I have done 8 out of 10 exercises correctly but I’m getting 0 points for all exercises.
Another thing I have noticed there is no testing test cases and test failed/passed output in my current notebook for any of the exercises
Hi @andyalexfurner!
First, welcome to our community!
This is weird. Can you doublecheck if you haven’t by accident changed the type of the cell in the notebook? Sometimes we just bump into some keyboard keys and it changes the cell type. When this happens, there is no output because the parser will not count the cell as a code cell. Please note that this check must occur in every cell.
If this is not the case, however, please send me, privately your Lab ID. To do so, in the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.
I shall take a look.
Thanks,
Lucas
Did you add # grade-up-to-here? From other courses I have learned the grader is getting confused when some cells are not completed.
Hi, I meet some similar issues. Whether it is restarted or submitted multiple times, it is prompted to get 0 points. But I am sure that some, though not all, of the answers are correct.
running into similar issues. submitted for partial grading up to ex. 8 and received points, then all zeros when submitting after that.
I have the same problem and do no know how I can solve it.
Hey @andyalexfurner, @yuxuan_cai1, @Heather_Mesa and @Sara_Samir1,
Welcome, and we are glad that you all could become a part of our community
Earlier the notebook was facing a version issue, which has been fixed now. So, if any of you guys is still facing an issue, then please post your error stack here.
Cheers,
Elemento
Even I am facing the same issue. It is not grading the code.
There’s another thread of the same issue. Have you found the solution yet?
Hey @Tom_Pham,
Earlier the notebook had a version issue. Since the notebook had a couple of errors, hence, the notebook kept on updating quite frequently. So, when the learners tried to submit the assignment, they were trying to submit an older version, and hence, the error. But now, the issue isn’t there anymore. As of now, most often the issue arises when the learners unintentionally change some things that they are not supposed to do. A quick update of the notebook fixes that. Still, let me take at the other thread, and try to see, if I can help out the learners.
Cheers,
Elemento
On the 10th I got zero grades for this assignment (all the subsequent ones were fine). I DMed as you advised but it is still reporting zero today. How can I update the notebook without losing all the work I did?
I have finished the contents of the first week of probability and statistics for machine learning, but when I finish the programming assessment, it shows me 0% at the moment of submission and does not allow me to finish this week. Can you guide me? Thank you.
I think I was able to go to the next week despite the zero score by navigating to https://community.deeplearning.ai/c/math-for-machine-learning/m4ml-course-3/336 and then clicking on the next week.
Me too.whats the solution?
Hey @NIKHIL_JOSHI1,
I went through your notebook, and your solution has an incorrect implementation for the function prob_of_X_given_C
. It produces an error, so, it’s trivial for the grader to not grade your notebook. Please correct your implementation first, and only when you pass all the test-cases, then submit your notebook, otherwise make use of partial grading.
As to where your implementation is incorrect, there are multiple places. For instance, you have used pdf_gaussian
to estimate probability_f
for all the features, however, the different features follow different distributions. Read the markdown to know about the same. Also, you have used params_dict
in the incorrect manner, try to print it, and see how it is structured. Also, you have used the incorrect variable with match
, so, take a look into that as well.
I hope this helps.
Cheers,
Elemento
Hey @Ali_Akhlaghi,
Welcome, and we are glad that you could become a part of our community
If you are still facing an issue in this assignment, can you please post your error stack here, so that we can take this forward?
Cheers,
Elemento
Hey @toontalk,
I went through your notebook. You have made changes in the notebook outside the “START CODE HERE” and “END CODE HERE” comments, and the grader feels uncomfortable with that.
I believe you have imported extra packages and modules manually, but please note that you can implement all the functions with the packages and modules that have been implemented for you towards the beginning of the notebook. Once you have completed the assignment, please feel free to play with the notebook. For now, please follow the steps here to get a fresh copy of your assignment.
Cheers,
Elemento
Hi
Thanks. Problem fixed. But the instructions include:
For instance, you can use scipy.special.erf and scipy.special.erfinv to compute the erf function and its inverse. Alternatively, you can find an implementation of the erf function in math.erf from the Python math library.
So it seems one does need to import to get erf inverse. I solved the problem by removing my cell that did the importing and moved the imports to the cell that does all the importing.
Also I couldn’t find any changes outside of “START CODE HERE” and “END CODE HERE” - but it now graded me correctly anyway.
How do I reset the notebook to its initial state? Having trouble getting a grade. It’s possible this is b/c I changed some cells in ways I’m not supposed to.
To reset the notebook, please follow the instructions in “Refresh your Workspace”, here.