| Package | Description |
|---|---|
| com.aliasi.classify |
Classes for classifying data and evaluation.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConditionalClassifier<E>
The
ConditionalClassifier interface specifies a single method
for n-best classification with conditional category probabilities. |
interface |
JointClassifier<E>
The
JointClassifier interface specifies a single method for
n-best classification with joint input and category probabilities. |
| Modifier and Type | Class and Description |
|---|---|
class |
BernoulliClassifier<E>
A
BernoulliClassifier provides a feature-based
classifier where feature values are reduced to booleans based on a
specified threshold. |
class |
BigVectorClassifier
A
BigVectorClassifier provides an efficient linear
classifier implementation for large numbers of categories. |
class |
BinaryLMClassifier
A
BinaryLMClassifier is a boolean dynamic language
model classifier for use when there are two categories, but
training data is only available for one of the categories. |
class |
DynamicLMClassifier<L extends LanguageModel.Dynamic>
A
DynamicLMClassifier is a language model classifier
that accepts training events of categorized character sequences. |
class |
KnnClassifier<E>
A
KnnClassifier implements k-nearest-neighor
classification based on feature extraction and a vector proximity
or distance. |
class |
LMClassifier<L extends LanguageModel,M extends MultivariateDistribution>
An
LMClassifier performs joint probability-based
classification of character sequences into non-overlapping
categories based on language models for each category and a
multivariate distribution over categories. |
class |
LogisticRegressionClassifier<E>
A
LogisticRegressionClassifier provides conditional
probability classifications of input objects using an underlying
logistic regression model and feature extractor. |
class |
NaiveBayesClassifier
A
NaiveBayesClassifier provides a trainable naive Bayes
text classifier, with tokens as features. |
class |
PerceptronClassifier<E>
A
PerceptronClassifier implements a binary classifier
based on an averaged kernel-based perceptron. |
class |
TradNaiveBayesClassifier
A
TradNaiveBayesClassifier implements a traditional
token-based approach to naive Bayes text classification. |
| Modifier and Type | Method and Description |
|---|---|
ScoredClassifier<E> |
ScoredClassifierEvaluator.classifier()
Return the classifier being evaluated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScoredClassifierEvaluator.setClassifier(ScoredClassifier<E> classifier)
Set the classifier being evaluated to the specified value.
|
| Constructor and Description |
|---|
ScoredClassifierEvaluator(ScoredClassifier<E> classifier,
String[] categories,
boolean storeInputs)
Construct a scored classifier evaluator with the specified
classifier, categories and flag indicating whether or not to
store inputs.
|
Copyright © 2016 Alias-i, Inc.. All rights reserved.