Doubt possible error in Exam
in
Machine Learning with Naïve Bayes
/
The YouTube Dataset: Accuracy, Precision, Recall, and the F1 score
Good afternoon, I believe there is an error in question 3 of the Naive Bayes course exam.
When creating model 1, following the described steps, using a train-test split with a test size of 0.3, stratify = target_variable, and random_state = 365 to replicate randomness, and then using a vectorizer and the MultinomialNB class, I obtain the result shown in the attached photo.
Therefore, I don’t get two cells with zeros, as I don’t have any chips classified by my algorithm as "caw."
thanks in advanced
1 answers ( 0 marked as helpful)
Hey Enrique,
Thank you for reaching out and I apologize for the delayed response. Thank you also for bringing this potential issue to our attention.
I can't immediately tell where the discrepancy comes from, the code looks correct. Could you please display the parameters of "modelo_1"? That is, provide the output of the following command:
Kind regards,
365 Hristina
Thank you for reaching out and I apologize for the delayed response. Thank you also for bringing this potential issue to our attention.
I can't immediately tell where the discrepancy comes from, the code looks correct. Could you please display the parameters of "modelo_1"? That is, provide the output of the following command:
modelo_1.get_params()
Kind regards,
365 Hristina