Uses of Class
org.tribuo.Feature
Packages that use Feature
Package
Description
Provides the core interfaces and classes for using Tribuo.
Provides an implementation of Viterbi for generating structured outputs, which can sit on top of any
Label based classification model.Provides an implementation of HDBSCAN*.
Provides a multithreaded implementation of K-Means, with a
configurable distance function.
Provides classes for processing columnar data and generating
Examples.Provides implementations of
FieldProcessor.Provides implementations of text data processors.
Provides implementations of base classes and interfaces from
org.tribuo.Provides feature extraction implementations which use ONNX models.
Provides core classes for working with sequences of
Examples.-
Uses of Feature in org.tribuo
Classes in org.tribuo that implement interfaces with type arguments of type FeatureModifier and TypeClassDescriptionclassAn example used for training and evaluation.classA class for features.Methods in org.tribuo that return FeatureModifier and TypeMethodDescriptionFeature.clone()Returns the Feature in this Example which has the supplied name, if it's present.Methods in org.tribuo that return types with arguments of type FeatureModifier and TypeMethodDescriptionstatic Comparator<Feature> Feature.featureNameComparator()A comparator using the lexicographic ordering of feature names.Methods in org.tribuo with parameters of type FeatureModifier and TypeMethodDescriptionabstract voidAdds a feature.intabstract voidOverwrites the feature with the matching name.Method parameters in org.tribuo with type arguments of type FeatureModifier and TypeMethodDescriptionabstract voidExample.addAll(Collection<? extends Feature> features) Adds a collection of features.abstract voidExample.removeFeatures(List<Feature> featureList) Removes all features in this list from the Example. -
Uses of Feature in org.tribuo.classification.sequence.viterbi
Methods in org.tribuo.classification.sequence.viterbi that return types with arguments of type FeatureModifier and TypeMethodDescriptionDefaultFeatureExtractor.extractFeatures(List<Label> previousOutcomes, double value) LabelFeatureExtractor.extractFeatures(List<Label> previousOutcomes, double value) Generates features based on the previously produced labels.NoopFeatureExtractor.extractFeatures(List<Label> previousOutcomes, double value) -
Uses of Feature in org.tribuo.clustering.hdbscan
Methods in org.tribuo.clustering.hdbscan that return types with arguments of type FeatureModifier and TypeMethodDescriptionHdbscanModel.getClusters()Returns the features in each cluster exemplar. -
Uses of Feature in org.tribuo.clustering.kmeans
Methods in org.tribuo.clustering.kmeans that return types with arguments of type FeatureModifier and TypeMethodDescriptionKMeansModel.getCentroids()Returns a list of features, one per centroid. -
Uses of Feature in org.tribuo.data.columnar
Subclasses of Feature in org.tribuo.data.columnarModifier and TypeClassDescriptionclassA Feature with extra bookkeeping for use inside the columnar package. -
Uses of Feature in org.tribuo.data.columnar.processors.field
Method parameters in org.tribuo.data.columnar.processors.field with type arguments of type FeatureModifier and TypeMethodDescriptionstatic List<ColumnarFeature> TextFieldProcessor.wrapFeatures(String fieldName, List<Feature> inputFeatures) Convert theFeatures from a text pipeline intoColumnarFeatures with the right field name. -
Uses of Feature in org.tribuo.data.text
Methods in org.tribuo.data.text that return types with arguments of type FeatureModifier and TypeMethodDescriptionAggregates feature values with the same names.Transforms features into a new list of featuresExtracts a list of features from the supplied text, using the tag to prepend the feature names.Extracts features from the supplied text.Extracts features from the supplied text.Method parameters in org.tribuo.data.text with type arguments of type Feature -
Uses of Feature in org.tribuo.data.text.impl
Methods in org.tribuo.data.text.impl that return types with arguments of type FeatureModifier and TypeMethodDescriptionMethod parameters in org.tribuo.data.text.impl with type arguments of type Feature -
Uses of Feature in org.tribuo.impl
Methods in org.tribuo.impl that return FeatureModifier and TypeMethodDescriptionMethods in org.tribuo.impl that return types with arguments of type FeatureModifier and TypeMethodDescriptionArrayExample.iterator()BinaryFeaturesExample.iterator()ListExample.iterator()Methods in org.tribuo.impl with parameters of type FeatureModifier and TypeMethodDescriptionvoidvoidAdds a feature to this example.voidvoidstatic voidBinaryFeaturesExample.checkIsBinary(Feature feature) Checks if the supplied feature is binary, if not throw anIllegalArgumentException.static booleanIs the supplied feature binary (i.e., does it have a value of 1.0)?voidvoidvoidMethod parameters in org.tribuo.impl with type arguments of type FeatureModifier and TypeMethodDescriptionvoidArrayExample.addAll(Collection<? extends Feature> features) voidBinaryFeaturesExample.addAll(Collection<? extends Feature> features) Adds a collection of features to this example.voidIndexedArrayExample.addAll(Collection<? extends Feature> features) voidListExample.addAll(Collection<? extends Feature> features) voidArrayExample.removeFeatures(List<Feature> featureList) voidBinaryFeaturesExample.removeFeatures(List<Feature> featureList) voidIndexedArrayExample.removeFeatures(List<Feature> featureList) voidListExample.removeFeatures(List<Feature> featureList) Constructor parameters in org.tribuo.impl with type arguments of type FeatureModifierConstructorDescriptionArrayExample(T output, List<? extends Feature> features) Constructs an example from an output and a list of features.BinaryFeaturesExample(T output, List<? extends Feature> features) Constructs an example from an output and a list of features.ListExample(T output, List<? extends Feature> features) Constructs a ListExample using the specified output and feature list. -
Uses of Feature in org.tribuo.interop.onnx.extractors
Methods in org.tribuo.interop.onnx.extractors that return types with arguments of type FeatureModifier and TypeMethodDescriptionTokenizes the input using the loaded tokenizer, truncates the token list if it's longer thanmaxLength- 2 (to account for [CLS] and [SEP] tokens), and then passes the token list toBERTFeatureExtractor.extractExample(java.util.List<java.lang.String>). -
Uses of Feature in org.tribuo.sequence
Methods in org.tribuo.sequence that return types with arguments of type FeatureModifier and TypeMethodDescriptionSequenceExample.featureIterator()Creates an iterator over every feature in this sequence.Method parameters in org.tribuo.sequence with type arguments of type FeatureModifier and TypeMethodDescriptionstatic <T extends Output<T>>
SequenceExample<T> SequenceExample.createWithEmptyOutputs(List<? extends List<? extends Feature>> features, OutputFactory<T> outputFactory) Creates a SequenceExample usingOutputFactory.getUnknownOutput()as the output for each sequence element.voidSequenceExample.removeFeatures(List<Feature> features) Removes the features in the supplied list from each example contained in this sequence.