I am using the nltk.classify.MaxEntClassifier. This object has a set of labels, 
and a set of probabilities: P(label | features). It modifies this probability 
given data. SO for example, if you tell this object that the label L appears 
60% of the time with the feature F, then P(L | F) = 0.6. 
The point is, there is no way to access the probabilities directly. The 
object's 'classify' method uses these probabilities, but you can't call them as 
an object property. 
In order to adjust probabilities, you have to call the object's 'train' method, 
and feed classified data in.
So is there any way to save a MaxEntClassifier object, with its classification 
probabilities, without having to call the 'train' method?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to