K Nearest Neighbor


Classifies a set of test data based on the k Nearest Neighbor algorithm using the training data. The underlying algorithm uses a KD tree and should therefore exhibit reasonable performance. However, this type of classifier is still only suited for a few thousand to ten thousand or so training instances. All (and only) numeric columns and the Euclidean distance are used in this implementation. All other columns (of non-numeric type) in the test data are being forwarded as-is to the output.

Input Ports

  1. Type: Data Input port for the training data
  2. Type: Data Input port for the test data

Output Ports

  1. Type: Data Output data with class labels

Find here

Analytics > Mining > Misc Classifiers

Make sure to have this extension installed:


Update site for KNIME Analytics Platform 3.7:
KNIME Analytics Platform 3.7 Update Site

How to install extensions