I
- type of the input source. For Storm it is typically a Tuple
R
- the type of extracted raw inputP
- the type of preprocessed inputS
- the type of predicted scorespublic interface PmmlModelRunner<I,R,P,S> extends ModelRunner
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)
input
- source from which to extract raw inputsP preProcessInputs(R rawInputs)
rawInputs
- that are to be preprocessedCopyright © 2023 The Apache Software Foundation. All rights reserved.