Package | Description |
---|---|
org.tribuo.data.columnar |
Provides classes for processing columnar data and generating
Example s. |
org.tribuo.data.columnar.extractors |
Provides implementations of
FieldExtractor . |
Modifier and Type | Field and Description |
---|---|
protected FieldExtractor<Float> |
RowProcessor.weightExtractor |
Constructor and Description |
---|
RowProcessor(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.
|
Constructor and Description |
---|
RowProcessor(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.
|
Modifier and Type | Class and Description |
---|---|
class |
DateExtractor
Extracts the field value and translates it to a
LocalDate based on the specified DateTimeFormatter . |
class |
DoubleExtractor
Extracts the field value and converts it to a double.
|
class |
FloatExtractor
Extracts the field value and converts it to a float.
|
class |
IdentityExtractor
Extracts the field value and emits it as a String.
|
class |
IndexExtractor
An Extractor with special casing for loading the index from a Row.
|
class |
IntExtractor
Extracts the field value and converts it to a int.
|
class |
OffsetDateTimeExtractor
Extracts the field value and translates it to an
OffsetDateTime based on the specified DateTimeFormatter . |
class |
SimpleFieldExtractor<T>
Extracts a value from a single field to be placed in an
Example 's metadata field. |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.