Uses of Interface
org.tribuo.data.columnar.FieldExtractor
Packages that use FieldExtractor
Package
Description
Provides classes for processing columnar data and generating
Examples.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.weightExtractorThe 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 constructedRowProcessorwill 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 suppliedFieldExtractors 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.Builderto many-argument constructorsRowProcessor(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Deprecated.PreferRowProcessor.Builderto 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.Builderto 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.Builderto many-argument constructorsRowProcessor(List<FieldExtractor<?>> metadataExtractors, FieldExtractor<Float> weightExtractor, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap, Set<FeatureProcessor> featureProcessors) Deprecated.PreferRowProcessor.Builderto many-argument constructorsRowProcessor(List<FieldExtractor<?>> metadataExtractors, ResponseProcessor<T> responseProcessor, Map<String, FieldProcessor> fieldProcessorMap) Deprecated.PreferRowProcessor.Builderto many-argument constructors -
Uses of FieldExtractor in org.tribuo.data.columnar.extractors
Classes in org.tribuo.data.columnar.extractors that implement FieldExtractorModifier and TypeClassDescriptionclassExtracts the field value and translates it to aLocalDatebased on the specifiedDateTimeFormatter.classExtracts the field value and converts it to a double.classExtracts the field value and converts it to a float.classExtracts the field value and emits it as a String.classAn Extractor with special casing for loading the index from a Row.classExtracts the field value and converts it to a int.classExtracts the field value and translates it to anOffsetDateTimebased on the specifiedDateTimeFormatter.classExtracts a value from a single field to be placed in anExample's metadata field.
RowProcessor.Builderto many-argument constructors