Can anybody please help me in getting this “0.9253” accuracy. I tried many times but I failed… I got some 89.something.
THanks in advance.
Can anybody please help me in getting this “0.9253” accuracy. I tried many times but I failed… I got some 89.something.
THanks in advance.
Hi @Imaad_Ullah
One subtle reason for that could be this line of code:
# check if the (pos, word) key exists in the emission_counts dictionary
if key in None: # Replace None in this line with the proper condition.
Here, None
should not be emission_counts
variable, but the set you extracted earlier - all_words
.
Cheers
replacing ‘emission_counts’ with ‘all_words’ not changing the accuracy, still getting 0.8889.
could you please help
I am also experiencing this problem. Does anyone know how to get the correct accuracy of 0.9253?
please create new topic rather than commenting on old threads. Also when you create a post share a screenshot of your output with expected output without posting any codes from the grade cell.