I am getting 0/50 after submitting my .ipynb notebook and the grader says:
“There was a problem compiling the code from your notebook. Details:
name ‘split_data’ is not defined”
I got 50/50 on the history.pkl file submission which was generated from the same notebook.
My google colab notebook is working and all the code is being compiled and showing the same outputs required to pass the assignment. I think there is a problem with the Grader.
How do I pass the assignment?
Is this assignment on the coursera environment, if it is there there might be chance that the assignment need to be updated to latest version. I have seen similar errors due to this.
No, the assigment provides a link to a colab notebook which I need to edit and run and then download and submit the submission.ipynb and history.pkl files to pass the assignment
The week 3 assignment also needs the same function used in the week 2 assignment.
I passed the week 3 assignment using the same code. But the grader out is “There was a problem compiling the code from your notebook. Details: name ‘split_data’ is not defined”
Clearly, my code is working properly.
Any ideas how to solve this problem?
Thank you.
No I dont have any specific ideas about the particulars of this assignment, maybe a mentor of this specialization can pick this up. But from the error I read the split_data maybe not defined properly, either name or arguments. This can also impact the dependencies of this function.
Solved the problem. Apparently, if you delete a cell the grader automatically inserts the incomplete cell into the submission template. That is why, the grade was showing name not defined.