3 ms·
Oh, forgot to mention that you'll want to compute probabilities using logarithms to avoid underflow precision loss (which will introduce classification errors).
by jackbard 19y ago
Oh, forgot to mention that you'll want to compute probabilities using logarithms to avoid underflow precision loss (which will introduce classification errors).
example: wordValue = System.Math.Log((double)count / (double)cat.TotalWords);