Uses of Interface
org.tribuo.sequence.SequenceDataSource
-
Uses of SequenceDataSource in org.tribuo.sequence
Modifier and TypeMethodDescriptionfinal E
AbstractSequenceEvaluator.evaluate
(SequenceModel<T> model, SequenceDataSource<T> datasource) Produces an evaluation for the supplied model and datasource, by callingSequenceModel.predict(org.tribuo.sequence.SequenceExample<T>)
to create the predictions, then aggregating the appropriate statistics.SequenceEvaluator.evaluate
(SequenceModel<T> model, SequenceDataSource<T> datasource) Evaluates the datasource using the supplied model, returning an immutable evaluation.ModifierConstructorDescriptionImmutableSequenceDataset
(SequenceDataSource<T> dataSource, FeatureMap featureIDMap, OutputInfo<T> outputIDInfo) Creates a dataset from a data source, using the specified output and feature domains.ImmutableSequenceDataset
(SequenceDataSource<T> dataSource, SequenceModel<T> model) Creates a dataset from a data source, taking the output and feature domains from the supplied model.MutableSequenceDataset
(SequenceDataSource<T> dataSource) Builds a dataset from the supplied data source.