Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
jackbard
· 18y ago · 0 comments
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);
Comments
No comments yet.
Better HN