The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.stat.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: EFD vs EWD in a Naive Bayes Classifier
Replies: 7   Last Post: Sep 24, 2008 9:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Glen Low

Posts: 41
Registered: 12/13/04
Re: EFD vs EWD in a Naive Bayes Classifier
Posted: Sep 19, 2008 9:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Sep 19, 8:41 pm, Peter <> wrote:
> I do not know this particular application, but consider that, to keep frequencies equal, high-density events will be binned in smaller intervals. So probability is inversely related to the length of the interval (as in |a2-a1|) that your observation p falls in.

Define pi = P(p in bin i), li = length of interval i, ni = instances
in bin i, k = constant of proportionality

pi = k * ni / li
sum(pi) = sum (k * ni / li) = 1
1 = k * sum (ni / li)
k = 1 / sum (ni / li)

therefore pi = ni / (li * sum (ni / li))

I suppose this makes sense from a mathematical derivation point of
view, I just find it hard to see the intuitive view of it.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.