0 ×

PMML K Nearest Neighbor Converter

DeprecatedKNIME Base Nodes version 4.3.3.v202105242122 by KNIME AG, Zurich, Switzerland

This node uses the data from a table to construct a PMML K Nearest Neighbors model. The node does not classify any values. It just writes all columns that are used for the calculation of the neighbors into the PMML document. When limiting the number of records to add to the PMML, make sure that the selected portion is still representative to avoid loosing data for some classes completely.


Prediction column name
The name of the column that is predicted
Number of neighbors
The number of neighbors to consider during scoring
Maximum number of records
The maximum number of records to add

Input Ports

The data for creating the KNN model

Output Ports

The KNN model


To use this node in KNIME, install KNIME Base nodes from the following update site:


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.


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.