I’m taking this course on Coursera and I’m very interested in the entire specialization.I’ve duly reported them, but I haven’t received any feedback or anything. It doesn’t make sense to me to continue because it’s very likely that in the notebook sent from Coursera, I’ve added spaces, extra lines, or something else that’s causing the grade to be lost. Could you give me a solution?
Hi @Ely0203
If you have submitted your assignment for grading correctly, the grader would give feedback very quickly with marks or error message to indicate where and what the problem is. If you have no response from the grader, it could be that the kernel has died.
Could you try to rerun your code, from the menu bar on top your notebook, click:
-
Kernel → restart and clear output
-
Cell → run all
Check that there is no error and then submit. You should have a response very quickly.
Please try what Kin has suggested and let us know if that changes the results.
If you are concerned that you may have damaged the notebook, there is a straightforward way to start over again with a clean copy, as described on this thread.
It would also help us to help you if you could give us more details about what you mean by not receiving feedback. Do you mean that the grader literally never returned any result at all? Or that it gave you 0 points for everything? If that latter, then it might shed some light if you could show us what it says when you click “Show grader output”.
I’m afraid the problem is specific to this course because I’ve taken others and this hasn’t happened. The autocorrect programming assignment doesn’t say that text cleanup is required, but either I’m reading it wrong or it definitely requires text cleanup. I Show the code
I’ve tried everything and the truth is that it never reaches the vocabulary that it should according to the unit test. I also tried @Kic’s suggestions but the notebook doesn’t restart. It could be because my subscription has expired, but I just don’t see the point in continuing, because without this task approved I wouldn’t be able to finish the course.
Greetings and I hope to continue with my specialization. I love your community.
Hi @Ely0203 ,
I have not taken this course, so I can only make suggestions based on the information posted here for you to try out.
-
First of all, if your subscription is near the end, you should have received an email to warn you about this. But, you can check it yourself:
clicking on your icon → select My Purchases → payment history (if auto renew is on, your subscription will be renewed automatically on a monthly cycle)
-
Can you take screen shots of what you see when you try to restart the kernel?
-
In regards to your code output not matching the expected output, have you checked if your regular expression is correct? Your code seems to output more words than expected.
If you want to keep alphabet letters, digits, white space and apostrophes, the regular expression can be written like this:
re.sub(r”[^a-z0-9\s’]”, ‘ ‘, text)
Does your logic pass the test cases in the notebook?
Note that there is a simpler way to write the logic that splits it into a list of words. Did you read the “Hints” and “Detailed hints” that they give in the notebook. They don’t just solve the problem for you, but you have to read some of the python documentation based on the hints that they give.
Thank you very much for your help. Regex really shouldn’t be necessary. It never says the text needs preprocessing. I added it because no matter what I do, it won’t pass the test. I’ve also read the hints. Regards.
