Package | Description |
---|---|
org.tribuo.data.columnar |
Provides classes for processing columnar data and generating
Example s. |
org.tribuo.data.columnar.processors.response |
Provides implementations of
ResponseProcessor . |
Modifier and Type | Field and Description |
---|---|
protected ResponseProcessor<T> |
RowProcessor.responseProcessor |
Modifier and Type | Method and Description |
---|---|
ResponseProcessor<T> |
RowProcessor.getResponseProcessor()
Returns the response processor 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,
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.
|
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 |
BinaryResponseProcessor<T extends Output<T>>
A
ResponseProcessor that takes a single value of the
field as the positive class and all other values as the negative
class. |
class |
EmptyResponseProcessor<T extends Output<T>>
A
ResponseProcessor that always emits an empty optional. |
class |
FieldResponseProcessor<T extends Output<T>>
A response processor that returns the value in a given field.
|
class |
QuartileResponseProcessor<T extends Output<T>>
Processes the response into quartiles and emits them as classification outputs.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.