Uses of Interface
org.tribuo.data.columnar.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
Modifier and TypeFieldDescriptionprotected FieldExtractor<Float>
RowProcessor.weightExtractor
The extractor for the example weight.Modifier 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.Modifier and TypeMethodDescriptionRowProcessor.Builder.setMetadataExtractors
(List<FieldExtractor<?>> metadataExtractors) If set, the suppliedFieldExtractor
s will be run for each example, populatingExample.getMetadata()
.ModifierConstructorDescriptionRowProcessor
(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 constructorsModifierConstructorDescriptionRowProcessor
(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
Modifier 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