Decision Tree Predictor

This node uses an existing decision tree (passed in through the model port) to predict the class value for new patterns. The Node can be configured as follows:

Options

Number of patterns for hiliting
Determines the maximum number of patterns the tree will store to support hiliting.
Custom prediction column name
Allows you to specify a customized name for the prediction column that is appended to the input table. If not checked, Prediction(target) (where target is the name of the target column of the provided regression model) is used as default.
Append columns with normalized class distribution
If selected, a column is appended for each class instance with the normalized probability of this row being a member of this class. The probability columns will have names like: P(targetColumn=value).
Probability column suffix
Suffix for the probability columns.

Input Ports

Icon
A previously learned decision tree model.
Icon
Input data to classify.

Output Ports

Icon
The input table with one column added containing the classification and the probabilities depending on the options.

Views

Decision Tree View
The decision tree as given in the model port along with the classified data. The tree can be expanded and collapsed with the plus/minus signs.
Decision Tree View (simple)
The decision tree as given in the model port along with the classified data.

Workflows

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.