How can i have equal no
in
Machine Learning with Naïve Bayes
/
The YouTube Dataset: Accuracy, Precision, Recall, and the F1 score
1 answers ( 0 marked as helpful)
Hey Shobhit,
Thank you for reaching out.
Since I see only very little of your code, I can't, unfortunately, tell the reason this error occurs. What I can suggest is that you download the source code from the resources complementing this course and compare the code in 'MultinomialNB_YouTube-with-code.ipynb' with the one you have.
Once you're sure your code aligns with the one provided, restart the kernel of your notebook and run the code anew.
Let me know if you still experience issues.
Kind regards,
365 Hristina