nltk.classify.SklearnClassifier.prob_classify_many

SklearnClassifier.prob_classify_many(featuresets)[source]

Compute per-class probabilities for a batch of samples.

Parameters:featuresets – An iterable over featuresets, each a dict mapping strings to either numbers, booleans or strings.
Return type:list of ProbDistI