News for hackers. Stuff that matters.
Re:Lazy people innovate by tikhonj on Friday June 29, 2012 @07:55PM (#4179786)
It's funny because I recently used logarithms for exactly that, just on a computer.

Basically, if you're using a naive Bayes classifier, you may have to multiply really small probabilities. Floating point numbers are not great at multiplying really small numbers. So the trick is to take the logarithm of the probabilities and add them together.

Re:Lazy people innovate by b_emery on Monday July 02, 2012 @03:40PM (#4190543)
Very cool! Would not have thought of that.