On 29.09.2011 André-Philippe Paquet wrote: > After checking in the CBayesAlgorithm class, I made my own subclass and > overrided the "featureWeight" function to return 0 if the weight of the > feature in the curent label is 0 instead of returning the theta normalized > weight. It fixed the problem in my case. > > Should I fill an issue?
Yes, absolutely. Your fix sounds like a nice starting point. Robin, in a second iteration, should we allow users to plug in their own strategies for weighting so far unseen features, or can we come up with one that works for all most common cases? Isabel
signature.asc
Description: This is a digitally signed message part.