I already using the num oov, and the output is quite similar to the expected output. The unittest also give me the “All tests passed!”. But when it comes to the grader it say that I have a missing labels, meanwhile the label is already on the list. Can anyone please help me figure this out?
posting any grade cell codes correct or incorrect, sharing any links to your assignment notebook is against community guidelines. Kindly refer How to Use the ForumCode of Conduct for better understanding of discourse community
When you have missing labels, then the first thing is to check if your train val dataset codes included the required dataset correctly.
if that was correct, then in fit label check if you used variables correctly, i.e. making sure not to use global variable instead use the required call arguments assigned to the fit label encoder grade cell.
The last check point is where you got this incorrect output for the preprocess data, check if dataset used the label_encoder function to the labels