Uses of Interface
org.tribuo.data.columnar.ResponseProcessor
Package
Description
Provides classes for processing columnar data and generating
Example
s.Provides implementations of
ResponseProcessor
.-
Uses of ResponseProcessor in org.tribuo.data.columnar
Modifier and TypeMethodDescriptionRowProcessor.getResponseProcessor()
Returns the response processor this RowProcessor uses.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.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. -
Uses of ResponseProcessor in org.tribuo.data.columnar.processors.response
Modifier and TypeClassDescriptionclass
BinaryResponseProcessor<T extends Output<T>>
AResponseProcessor
that takes a single value of the field as the positive class and all other values as the negative class.final class
EmptyResponseProcessor<T extends Output<T>>
AResponseProcessor
that always emits an empty optional.class
FieldResponseProcessor<T extends Output<T>>
A response processor that returns the value(s) in a given (set of) fields.class
QuartileResponseProcessor<T extends Output<T>>
Processes the response into quartiles and emits them as classification outputs.