0 ×

**Decisions Tree Ensembles for KNIME** version **4.3.0.v202011191423** by **KNIME AG, Zurich, Switzerland**

Learns a single regression tree. The procedure follows the algorithm described by "Classification and Regression Trees" (Breiman et al, 1984), whereby the current implementation applies a couple of simplifications, e.g. no pruning, not necessarily binary trees, etc.

The currently used missing value handling also differs from the one used by Breiman et al, 1984. In each split the algorithm tries to find the best direction for missing values by sending them in each direction and selecting the one that yields the best result (i.e. largest gain). The procedure is adapted from the well known XGBoost algorithm and is described here .

- Target Column
- Select the column containing the value to be learned. Rows with missing values in this column will be ignored during the learning process.
- Attribute Selection
Select the attributes on which the model should be learned. You can choose from two modes.

*Fingerprint attribute*Uses a fingerprint/vector (bit, byte and double are possible) column to learn the model by treating each entry of the vector as separate attribute (e.g. a bit vector of length 1024 is expanded into 1024 binary attributes). The node requires all vectors to be of the same length.*Column attributes*Uses ordinary columns in your table (e.g. String, Double, Integer, etc.) as attributes to learn the model on. The dialog allows to select the columns manually (by moving them to the right panel) or via a wildcard/regex selection (all columns whose names match the wildcard/regex are used for learning). In case of manual selection, the behavior for new columns (i.e. that are not available at the time you configure the node) can be specified as either*Enforce exclusion*(new columns are excluded and therefore not used for learning) or*Enforce inclusion*(new columns are included and therefore used for learning).- Ignore columns without domain information
- If selected, nominal columns with no domain information are ignored (as they likely have too many possible values anyway).
- Enable Hightlighting (#patterns to store)
- If selected, the node stores the selected number of rows and allows highlighting them in the node view.
- Use binary splits for nominal attributes
- If selected, the node determines set based binary splits for nominal values. Otherwise each value will result in a child node.
- Missing value handling
- Here the preferred missing value handling can be specified there are the following options:
- XGBoost - If this is selected (it is also the default), the learner will calculate which direction is best suited for missing values, by sending the missing values in each direction of a split. The direction that yields the best result (i.e. largest gain) is then used as default direction for missing values. This method works with both, binary and multiway splits.
- Surrogate - This approach calculates for each split alternative splits that best approximate the best split. The method was first described in the book "Classification and Regression Trees" by Breiman et al. (1984). NOTE: This method can only be used with binary nominal splits.

- Limit number of levels (tree depth)
- Number of tree levels to be learned. For instance, a value of 1 would only split the (single) root node (decision stump).
- Minimum split node size
- Minimum number of records in a decision tree node so that another split is attempted. Note, this option does not make any implications on the minimum number of records in a terminal node. If enabled, this number needs to be at least twice as large as the minimum child node size (as otherwise for binary splits one of the two children would have less records than specified).
- Minimum node size
- Minimum number of records in child nodes. It can be at most half of the minimum split node size (see above). Note, this parameter is currently ignored for nominal splits.

- The data to learn from. It must contain at least one numeric target column and either a fingerprint (bit/byte/double-vector) column or another numeric or nominal column.

- Regression Tree View
- Regression Tree View

- Partitioning (26 %)
- Column Filter (7 %) Streamable
~~CSV Reader~~(5 %) Deprecated- X-Partitioner (5 %)
- File Reader (3 %) Streamable
- Show all 188 recommendations

- Simple Regression Tree Predictor (90 %) Streamable
- Simple Regression Tree to PMML (7 %)
~~Model Writer~~(2 %) Deprecated- Model to Cell (< 1 %)
- Decision Tree Learner (< 1 %)
- Show all 20 recommendations

- 01_Learning_a_Simple_Regression_Tree (KNIME Hub)
- 01_Learning_a_Simple_Regression_Tree (KNIME Hub)
- 01_Learning_a_Simple_Regression_Tree (KNIME Hub)
- 02_Regression_Tree_solution (KNIME Hub)
- 6. Simple Regression Tree (KNIME Hub)
- Show all 19 workflows

To use this node in KNIME, install KNIME Ensemble Learning Wrappers from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to 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.

Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter, or chat on Gitter!

Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.