| Package | Description |
|---|---|
| com.aliasi.classify |
Classes for classifying data and evaluation.
|
| com.aliasi.tag |
Classes and interfaces for sequence tagging, including evaluators.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JointClassification
A
JointClassification is a conditional classification
derived from a joint probability assignment to each category and
the object being classified. |
| Modifier and Type | Method and Description |
|---|---|
ConditionalClassification |
ConditionalClassifier.classify(E input)
Returns the n-best conditional probability classification for
the specified input.
|
ConditionalClassification |
LogisticRegressionClassifier.classify(E in)
Return the conditional classification of the specified object
using logistic regression classification.
|
ConditionalClassification |
LogisticRegressionClassifier.classifyFeatures(Map<String,? extends Number> featureMap)
Return the conditional classification of a feature map using
this classifier.
|
ConditionalClassification |
LogisticRegressionClassifier.classifyVector(Vector v)
Returns the classification of the specified vector using the
logistic regression model underlying this classifier.
|
static ConditionalClassification |
ConditionalClassification.createLogProbs(String[] categories,
double[] logProbabilities)
Return a conditional classification given the categories and
log probabilities.
|
static ConditionalClassification |
ConditionalClassification.createProbs(String[] categories,
double[] probabilityRatios)
Static factory method for conditional classifications based on
the specified categories and linear probability ratios.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TradNaiveBayesClassifier.trainConditional(CharSequence cSeq,
ConditionalClassification classification,
double countMultiplier,
double minCount)
Trains this classifier using tokens extracted from the
specified character sequence, using category count multipliers
derived by multiplying the specified count multiplier by the
conditional probablity of a category in the specified
classification.
|
| Modifier and Type | Method and Description |
|---|---|
ConditionalClassification |
TagLattice.tokenClassification(int tokenIndex)
Returns the classification of the token at the specified position
in this tag lattice.
|
Copyright © 2019 Alias-i, Inc.. All rights reserved.