Skip to main content
gamedev.net
๐Ÿ”’ Locked

Bayes Classifier

Started by Asheh Apr 25, 2009 at 3:53 PM 0 replies 1k views
Original Post
Asheh
Asheh
I have implimented a bayes classifier to classify some text, given a max of 15 inputs with a single outcome. As I add more training data the floating point values are becoming exponentially smaller ie (6^-15) and very soon are going to become in-accurate. What can I do to help this? I thought multiplying either side of the equation by a large value. As this will not affect the probability.
alvaro
alvaro
Use logarithms. Instead of multiplying probability you will be adding information (Wikipedia seems to call this quantity self-information).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.