NG Construct&View

This node is used to construct and view Neighborgrams created from the data input. It does not allow for an interactive clustering (there are more specific nodes, which enable manual or automatic clustering).

The general idea of the Neighborgram data structure is the following: For a selected set of (labeled) objects, construct a neighborhood histogram (called Neighborgram, i.e. a single cell in the node's table view). An indivdual neighborgram summarizes the close vicinity of the respective object according to the selected distance or similarity measure. It usually shows a few hundreds of the closest neighbors (though a different neighbor count can be specified in the dialog), which are colored according their class label (the class coloring needs to be done using a Color Manager node, e.g.). Using the view, the user can select individual neighbors or entire neighborhoods and use other KNIME views to get more details on the selected objects. There are also basic clustering schemes available in the view, which allow the user to navigate between individual neighborgrams and their derived cluster candiates.

The view also supports different "universes", i.e. different measures of similarity. In order to enable this feature, the user needs to use universe marker node beforehand and assign individual columns to universes.

Details on the algorithm have been published in
Michael R. Berthold, Bernd Wiswedel, David E. Patterson
Interactive Exploration of Fuzzy Clusters Using Neighborgrams,
Fuzzy Sets and Systems, vol. 149, no. 1, pp. 21-37, Elsevier, 2005


Choose the target attribute class here.
Target Classes
Select the class names for which Neighborgrams shall be constructed. If the list is empty, the input table specification likely does not contain the possible values, i.e. class names. Consider to connect this node to a Domain Calculator node, which will, upon execute, determine all value classes.
Distance Measures
Select for each universe the distance measure. If there is no universe information in the input table, all numeric columns will make up one (default) universe. Each universe is represented by one column in the view.
Select how many nearest neighbors shall be computed and visualized in each of the neighborgrams.

Input Ports

Datatable for Neighborgram calculation.

Output Ports

This node has no output ports


Neighborgram table


  • 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.