| 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. |
interface |
RankedClassifier<E>
The
RankedClassifier interface specifies a single
classification method that returns n-best classifications of
inputs. |
interface |
ScoredClassifier<E>
The
ScoredClassifier interface specifies a single method for
n-best scored classification. |
| 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 |
|---|---|
BaseClassifier<E> |
BaseClassifierEvaluator.classifier()
Returns the classifier for this evaluator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseClassifierEvaluator.setClassifier(BaseClassifier<E> classifier)
Set the classfier for this evaluator to the specified value.
|
| Constructor and Description |
|---|
BaseClassifierEvaluator(BaseClassifier<E> classifier,
String[] categories,
boolean storeInputs)
Construct a classifier evaluator for the specified classifier
that records results for the specified set of categories,
storing cases or not based on the specified flag.
|
Copyright © 2016 Alias-i, Inc.. All rights reserved.