|
|
__init__(self,
label,
feature_name=None,
decisions=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
list of (immutable)
|
labels(self)
Returns:
the list of category labels used by this classifier. |
source code
|
|
|
label
|
classify(self,
featureset)
Returns:
the most appropriate label for the given featureset. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| refine(self,
labeled_featuresets,
entropy_cutoff,
depth_cutoff,
support_cutoff) |
source code
|
|
|
Inherited from api.ClassifierI:
batch_classify,
batch_prob_classify,
prob_classify
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__
|
|
Inherited from api.ClassifierI:
batch_probdist,
probdist
|