NLP, Classification, Data Science, Data Science Projects.
word being toxic or not, which is the fraction between the probability a word is toxic and not toxic: As we can see on the previous image, if P(wᵢ|0)=0, there is a problem: we can’t divide by 0… For this reason, we use Laplace smoothing, with V the number of unique words in the corpus: Laplace