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
ModifierConstructorDescriptionRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors, boolean replaceNewlinesWithSpaces) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.ModifierConstructorDescriptionRowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Map<String, FieldProcessor> regexMappingProcessors, Set<FeatureProcessor> featureProcessors, boolean replaceNewlinesWithSpaces) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed.RowProcessor
(List<FieldExtractor<?>> metadataExtractors, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap) Constructs a RowProcessor using the supplied responseProcessor to extract the response variable, and the supplied fieldProcessorMap to control which fields are parsed and how they are parsed. -
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.