Hello,
i stuck by implementing the function get_probs. I get the following Output:
I know i should use a sum function but i don’t understand where & and why i should use this function.
I hope somebody can explain it to me.
Thanks!
Hello,
i stuck by implementing the function get_probs. I get the following Output:
I know i should use a sum function but i don’t understand where & and why i should use this function.
I hope somebody can explain it to me.
Thanks!
Please click my name and message your notebook as an attachment.
The problem was, the global variable word_l
was used instead of using the values in word_count_dict
to compute the denominator.