0 ×

Numeric Distances

KNIME Distance Matrix Extension version 4.2.1.v202008251158 by KNIME AG, Zurich, Switzerland

Distance definition on numerical column(s), like for instance Euclidean or Manhattan distance. Parameters for missing value handling and normalization can be set depending on the selected distance function.


Column Selection
Choose the columns for which the numeric distance measure is defined.
Distance Selection
Select and configure the distance to be used for measurement. Additional information is available through the help button in the configuration dialog.

Standard Distance (Euclidean/ Manhattan)
The Minkowski or Lp-Norm distance generalizes the Euclidean or Manhattan distance

Cosine Distance
Cosine similarity is a measure of similarity between two vectors of an inner product space that measures the cosine of the angle between them. This distance function is 1 - cosine-similarity and can take range [0,2].

Input Ports

Input data.

Output Ports

The configured distance.

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Distance Matrix from the following update site:


A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped update site.

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.


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.