The test in the notebook is passed. However, it does not pass after the submission with an error: There was an error grading your submission. Details:\nname ‘text_vectorization’ is not defined
I do not think it is a problem on my side.
The test in the notebook is passed. However, it does not pass after the submission with an error: There was an error grading your submission. Details:\nname ‘text_vectorization’ is not defined
I do not think it is a problem on my side.
Have you perhaps forgotten to run cell under 1.2 Learning question encoding where text_vectorization is defined, or maybe you have altered that piece of code?
Hi @gxy12321
check in your codes if you have used global variables instead of local variables.
Every grade cells comes with assigned call arguments which needs to be used for that particular cell to create you return function or train model and your error is pointing that instead you have used a function outside of this grade cell, throwing this error.