org.allenai.nlpstack.parse.poly.ml
Returns the most probable (integer) outcome, given the input feature vector.
Returns the most probable (integer) outcome, given the input feature vector.
the feature vector to classify
the most probable (integer) outcome
Returns a feature name based on an index.
Returns a feature name based on an index.
The inverse of featureNameMap.
The inverse of featureNameMap.
Returns a distribution over all (integer) outcomes, given the input feature vector.
Returns a distribution over all (integer) outcomes, given the input feature vector.
the feature vector to classify
the most probable (integer) outcome
A WrapperClassifier wraps a ProbabilisticClassifier (which uses integer-based feature names) in an interface that allows you to use the more natural org.allenai.nlpstack.parse.poly.ml FeatureVector format for classification. This is a trait that specific wrappers can extend.