0 ×

Spark Predictor (Classification)

KNIME Extension for Apache Spark core infrastructure version 4.3.1.v202101261633 by KNIME AG, Zurich, Switzerland

This node classifies/labels input data using a previously learned Spark ML classification model. Please note that all feature columns selected during model training must be present in the ingoing DataFrame.

Note: This node is not compatible with Spark MLlib models. For these models please use the Spark Predictor node.

This node requires at least Apache Spark 2.0.

Options

Change prediction column name
When set, you can change the name of the prediction column. The default name is "Prediction (targetcolumn)".
Prediction Column
The desired name for the prediction column.
Append individual class probabilities
Select to append the class probability of each class to the output. For each class, a new column with name "P (targetcolumn=class)" will appended.
Append individual class probabilities
If class probabilities are appended, the suffix allows you to avoid duplicate column names. Can be empty.

Input Ports

Icon
Spark ML classification model to use.
Icon
Spark DataFrame containing the input data to classify.

Output Ports

Icon
Input DataFrame with appended prediction column and, if selected, columns for the class probabilities.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Extension for Apache Spark from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.