Uses of Interface
org.tribuo.data.columnar.FieldExtractor
Packages that use FieldExtractor
Package
Description
Provides classes for processing columnar data and generating
Example
s.Provides implementations of
FieldExtractor
.-
Uses of FieldExtractor in org.tribuo.data.columnar
Fields in org.tribuo.data.columnar declared as FieldExtractorModifier and TypeFieldDescriptionprotected FieldExtractor<Float>
RowProcessor.weightExtractor
The extractor for the example weight.Methods in org.tribuo.data.columnar with parameters of type FieldExtractorModifier and TypeMethodDescriptionRowProcessor.Builder.addMetadataExtractor
(FieldExtractor<?> metadataExtractor) Add a single metadata extractor to the builder.RowProcessor.Builder.setWeightExtractor
(FieldExtractor<Float> weightExtractor) If set, the constructedRowProcessor
will add the extracted floats into theExample.setWeight(float)
s.Method parameters in org.tribuo.data.columnar with type arguments of type FieldExtractorModifier and TypeMethodDescriptionRowProcessor.Builder.setMetadataExtractors
(List<FieldExtractor<?>> metadataExtractors) If set, the suppliedFieldExtractor
s will be run for each example, populatingExample.getMetadata()
.Constructors in org.tribuo.data.columnar with parameters of type FieldExtractorModifierConstructorDescriptionRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors) Deprecated.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors, boolean replaceNewlinesWithSpaces) Deprecated.PreferRowProcessor.Builder
to many-argument constructorsRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Deprecated.PreferRowProcessor.Builder
to many-argument constructorsConstructor parameters in org.tribuo.data.columnar with type arguments of type FieldExtractorModifierConstructorDescriptionRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors) Deprecated.PreferRowProcessor.Builder
to many-argument constructorsRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors, boolean replaceNewlinesWithSpaces) Deprecated.PreferRowProcessor.Builder
to many-argument constructorsRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Deprecated.PreferRowProcessor.Builder
to many-argument constructorsRowProcessor
(List<FieldExtractor<?>> metadataExtractors, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap) Deprecated.PreferRowProcessor.Builder
to many-argument constructors -
Uses of FieldExtractor in org.tribuo.data.columnar.extractors
Classes in org.tribuo.data.columnar.extractors that implement FieldExtractorModifier and TypeClassDescriptionclass
Extracts the field value and translates it to aLocalDate
based on the specifiedDateTimeFormatter
.class
Extracts the field value and converts it to a double.class
Extracts the field value and converts it to a float.class
Extracts the field value and emits it as a String.class
An Extractor with special casing for loading the index from a Row.class
Extracts the field value and converts it to a int.class
Extracts the field value and translates it to anOffsetDateTime
based on the specifiedDateTimeFormatter
.class
Extracts a value from a single field to be placed in anExample
's metadata field.
RowProcessor.Builder
to many-argument constructors