Package | Description |
---|---|
org.tribuo.data.columnar |
Provides classes for processing columnar data and generating
Example s. |
org.tribuo.data.columnar.processors.field |
Provides implementations of
FieldProcessor . |
Modifier and Type | Field and Description |
---|---|
protected Map<String,FieldProcessor> |
RowProcessor.fieldProcessorMap |
protected Map<String,FieldProcessor> |
RowProcessor.regexMappingProcessors |
Modifier and Type | Method and Description |
---|---|
FieldProcessor |
FieldProcessor.copy(String newFieldName)
Returns a copy of this FieldProcessor bound to the supplied newFieldName.
|
Modifier and Type | Method and Description |
---|---|
Map<String,FieldProcessor> |
RowProcessor.getFieldProcessors()
Returns the map of
FieldProcessor s this RowProcessor uses. |
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)
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(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.
|
RowProcessor(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.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleFieldProcessor
Processes a column that contains a real value.
|
class |
IdentityProcessor
A
FieldProcessor which converts the field name and value into a feature with a value of IdentityProcessor.FEATURE_VALUE . |
class |
RegexFieldProcessor
A
FieldProcessor which applies a regex to a field and generates ColumnarFeature s based on the matches. |
class |
TextFieldProcessor
A
FieldProcessor which takes a text field and runs a TextPipeline on it
to generate features. |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.