hi all,

I'm trying to use the mahout bayes method to solve some classifier problem.
But I found the result is very bad.
When I dived into source code, I found the prior class distribution was not 
considered into model ( for example 20-news case ).
Was it supposed to do like this or a bug here?

P( c | d ) = p(c) * p(d|c)/p(d) = p(c) * p(t1|c)*p(t2|c)***p(tn|c) / p(d);
here, the p(c) was ignored in real prediction progress.

thanks,
enyun

Reply via email to