Re:Ask/Poll News.YC: What is a good open source Bayes classi...
by jackbard on Tuesday February 26, 2008 @04:09PM
(#124150)
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);
[ Parent
| on HN ]
There are no comments on this comment yet.