PMML K Nearest Neighbor Converter

This Node Is Deprecated — This node is kept for backwards-compatibility, but the usage in new workflows is no longer recommended. The documentation below might contain more information.

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

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found


This node has no views


  • No workflows found



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.