Uses of Interface
org.tribuo.data.text.TextFeatureExtractor
Packages that use TextFeatureExtractor
Package
Description
Provides an implementation of LIME (Locally Interpretable Model Explanations).
Provides implementations of text data processors.
-
Uses of TextFeatureExtractor in org.tribuo.classification.explanations.lime
Constructors in org.tribuo.classification.explanations.lime with parameters of type TextFeatureExtractorModifierConstructorDescriptionLIMEText
(SplittableRandom rng, Model<Label> innerModel, SparseTrainer<Regressor> explanationTrainer, int numSamples, TextFeatureExtractor<Label> extractor, Tokenizer tokenizer) Constructs a LIME explainer for a model which uses text data. -
Uses of TextFeatureExtractor in org.tribuo.data.text
Fields in org.tribuo.data.text declared as TextFeatureExtractorModifier and TypeFieldDescriptionprotected TextFeatureExtractor
<T> DirectoryFileSource.extractor
The extractor that we'll use to turn text into examples.protected TextFeatureExtractor
<T> TextDataSource.extractor
The extractor that we'll use to turn text into examples.Constructors in org.tribuo.data.text with parameters of type TextFeatureExtractorModifierConstructorDescriptionDirectoryFileSource
(Path newsDir, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) DirectoryFileSource
(OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) Creates a data source that will use the given feature extractor and document preprocessors on the data read from the files in the directories representing classes.TextDataSource
(File file, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) TextDataSource
(Path path, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) Creates a text data set by reading it from a path. -
Uses of TextFeatureExtractor in org.tribuo.data.text.impl
Classes in org.tribuo.data.text.impl that implement TextFeatureExtractorConstructors in org.tribuo.data.text.impl with parameters of type TextFeatureExtractorModifierConstructorDescriptionSimpleStringDataSource
(List<String> rawLines, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) SimpleTextDataSource
(File file, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) SimpleTextDataSource
(Path path, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) protected
SimpleTextDataSource
(OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor)