Uses of Class
org.tribuo.Feature
Packages that use Feature
Package
Description
Provides the core interfaces and classes for using Tribuo.
Provides implementations of base classes and interfaces from
org.tribuo.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.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.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.