Hi, pls i am getting an error when i try to submit my lab work, all the cell run fine, but when i submit i get this error “Can’t compile the student’s code. Error: ValueError(”‘c’ argument has 69 elements, which is inconsistent with ‘x’ and ‘y’ with size 138.“)”, but i cant edit that cell as it was an imported function from the lab, the lab title is Practice Lab: Advice for Applying Machine Learning
Hi @Ememusoh ,
The auto grader carries out different set of tests to verify your code. So, even though your code passed the unit test, it has not satisfied the tests used by the auto grader.
I suggest you revisit your code and check for those values highlighted in the error message.
If you made any changes to your code, be sure to rerun your code from start. You can also clean up the execution environment by clearing all output first before rerunning your code, from the menu bar at the top of your notebook, select:
Kernel ->restart & clear all output
Cell → run all
1 Like
Tip:
Avoid using constant values in the code you add to the functions.