public interface PmmlModelRunner<I,R,P,S> extends ModelRunner
Runner for models defined using PMML.
Modifier and Type | Method and Description |
---|---|
R |
extractRawInputs(I input)
Extracts from the tuple the raw inputs that are to be scored according to the predictive model.
|
S |
predictScores(P preProcInputs)
Compute the predicted scores from the pre-processed inputs in the step above.
|
P |
preProcessInputs(R rawInputs)
Pre process inputs, i.e., remove missing fields, outliers, etc
|
scoredTuplePerStream
R extractRawInputs(I input)
Extracts from the tuple the raw inputs that are to be scored according to the predictive model.
input
- source from which to extract raw inputsP preProcessInputs(R rawInputs)
Pre process inputs, i.e., remove missing fields, outliers, etc
rawInputs
- that are to be preprocessedCopyright © 2019 The Apache Software Foundation. All rights reserved.