• + 0 comments

    In the following line, we need to use product instead of sum because Naive Bayes classifier probability formula p_1 = sum([heroes[h]['p_won'] for h in t_1])