The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at
http://knime.com.
Decision Tree To Image
Renders a decision tree view on an image. Currently supported image
type is PNG. The data input is optional. It can be used to provide a
column with color information. This color information is needed for
the chart in the nodes of the decision tree.
Dialog Options
- Width (in Pixel)
-
The width of the image.
- Collapse Table
-
The height of the image.
- Tree Scaling
-
To make sure that the decision tree is completely rendered on the
image you would choose Shrink to image area. With
Fit to image area the tree may also be scaled up to fit the
image area. Finally, Fixed value gives control over the
scaling magnitude.
- Zoom
-
The scaling magnitude for the tree scaling option Fixed value.
- Branch Display
-
With this options you can restrict the number of branches (nodes)
of the tree rendered on the image. Using
Unfold with data coverage, all branches will be unfolded that
have a total data coverage greater than the given value. With
Unfold to level, the tree will be unfolded to the given
level where the root is on level 0 and its children on level 1.
- Node Display
-
Controls the style how the nodes of the tree are displayed. You
can choose to hide the table ore the chart in the nodes. Note, that
the chart will show up only when the data input provides a column
with color information.
Ports
Input Ports
0 |
A previously learned decision tree model |
1 |
A data input which has the only purpose to provide a columns with color information. |
Output Ports
0 |
The image of the decision tree (PNG) |
Views
- Decision Tree View
-
The rendered image. The second tab provides a dynamic decision
tree view which allows to explore the decision tree.
This node is contained in KNIME Base Nodes
provided by KNIME GmbH, Konstanz, Germany.