public class JpmmlRunnerTestTopology extends Object
Topology that loads a PMML Model and raw input data from a CSV file. The RawInputFromCSVSpout
creates a stream of tuples with raw inputs, and the PMMLPredictorBolt
computes the predicted scores.
The location of the PMML Model and CSV files can be specified as CLI argument. Alternatively, the PMML Model can also be uploaded to the Blobstore and used in the topology specifying the blobKey. If no arguments are given, it loads the default example as described in the README file
Constructor and Description |
---|
JpmmlRunnerTestTopology() |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.