Decision Tree View

The view can be accessed either via the “Open view” action on the executed node or on KNIME Hub. A plot of the provided decision tree using a JavaScript based library. The view shows a decision tree consisting of a number of nodes. The class label and the class counts displayed inside the nodes correspond to those of the training data. Additionally a static SVG image can be rendered, which is then made available at the first output port.

Options

Title
The title of the plot.
Initial expanded levels
Specifies how many levels of the tree are initially expanded. In case of a 0 only the root node is displayed, in case of a 1 also the children of the root are displayed, and so on.
Generate image
If checked, adds an image output port and, upon execution, generates an image which is made available via this port.
Width
The width of the generated image (in pixels).
Height
The height of the generated image (in pixels).

Input Ports

Icon
Decision tree to display.

Output Ports

Icon
Rendered SVG image.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

Decision Tree View
Interactive decision tree visualization

Workflows

  • No workflows found

Links

Developers

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.