Icon

03_​PMML_​to_​Spark_​Comprehensive_​Mode_​Learning_​Mass_​Prediction

Spark Compiled Model Predictor

This workflow demonstrates the usage of the Spark Compiled Model Predictor node which converts a given PMML model into machine code and uses the compiled model to predict vast amounts of data in parallel within Apache Spark.

The workflow makes use of the Create Local Big Data Environment node to create a Spark context. You can swap this node out for a Create Spark Context (Livy) node to connect to a remote cluster.

Mass Prediction Comprehensive Model Learning Comprehensive Model Learning Mass Prediction This workflow demonstrates the usage of the Spark Compiled Model Predictor node. mass predictionin Hadooptest datatrainingdataKNIME tableto DataFrame Spark CompiledModel Predictor PMML Compiler PMML To Cell PMML To Cell Table to PMMLEnsemble File Reader File Reader Spark to Table Scorer DecisionTree Learner RProp MLP Learner Table to Spark Concatenate Create Local BigData Environment Mass Prediction Comprehensive Model Learning Comprehensive Model Learning Mass Prediction This workflow demonstrates the usage of the Spark Compiled Model Predictor node. mass predictionin Hadooptest datatrainingdataKNIME tableto DataFrameSpark CompiledModel Predictor PMML Compiler PMML To Cell PMML To Cell Table to PMMLEnsemble File Reader File Reader Spark to Table Scorer DecisionTree Learner RProp MLP Learner Table to Spark Concatenate Create Local BigData Environment

Nodes

Extensions

Links