3 ms·
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 multip
by tikhonj 14y ago
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.
- b_emery 14y agoVery cool! Would not have thought of that.