Package org.tribuo.sequence
package org.tribuo.sequence
Provides core classes for working with sequences of
Example
s.
Mirrors the classes in org.tribuo
but operating on SequenceExample
.
-
ClassDescriptionAbstractSequenceEvaluator<T extends Output<T>,
C extends MetricContext<T>, E extends SequenceEvaluation<T>, M extends EvaluationMetric<T, C>> Base class for sequence evaluators.HashingSequenceTrainer<T extends Output<T>>A SequenceTrainer that hashes all the feature names on the way in.Provenance forHashingSequenceTrainer
.ImmutableSequenceDataset<T extends Output<T>>This is aSequenceDataset
which has anImmutableFeatureMap
to store the feature information.IndependentSequenceModel<T extends Output<T>>A SequenceModel which independently predicts each element of the sequence.IndependentSequenceTrainer<T extends Output<T>>Trains a sequence model by training a regular model to independently predict every example in each sequence.MinimumCardinalitySequenceDataset<T extends Output<T>>This class creates a pruned dataset in which low frequency features that occur less than the provided minimum cardinality have been removed.Provenance forMinimumCardinalitySequenceDataset
.MutableSequenceDataset<T extends Output<T>>A MutableSequenceDataset is aSequenceDataset
with aMutableFeatureMap
which grows over time.SequenceDataset<T extends Output<T>>A class for sets of data, which are used to train and evaluate classifiers.SequenceDataSource<T extends Output<T>>A interface for things that can be given to a SequenceDataset's constructor.SequenceEvaluation<T extends Output<T>>An immutable evaluation of a specific sequence model and dataset.An evaluation factory which produces immutableSequenceEvaluation
s of a givenSequenceDataset
using the givenSequenceModel
.SequenceExample<T extends Output<T>>A sequence of examples, used for sequence classification.SequenceModel<T extends Output<T>>A prediction model, which is used to predict outputs for unseen instances.A CLI for interacting with aSequenceModel
.Command line options.SequenceTrainer<T extends Output<T>>An interface for things that can train sequence prediction models.