Options

# How to use Regression Tree(CART - Variance reduction)

Member Posts: 2 Contributor I
edited October 2019 in Help
Hello
I am looking for Decision Tree operator for Regression (CART - Variance reduction)

But I can't find it

anyone know where can i find it ?
Tagged:

## Best Answer

• Options
Member Posts: 2 Contributor I
Solution Accepted
What is the Base algorithm of the Decision Tree in the Rapid Miner?

## Answers

• Options
Moderator, Member Posts: 1,207 Unicorn
Hello @krim3405

Did you try the decision tree with "least squares" as a criterion? This is used for regression rapidminer.
Regards,
Varun
https://www.varunmandalapu.com/

# Be Safe. Follow precautions and Maintain Social Distancing

• Options
Posts: 0 Learner III
@krim3405

Hi

SynopsisThis Operator generates a decision tree model, which can be used for classification and regression.

## Description

A decision tree is a tree like collection of nodes intended to create a decision on values affiliation to a class or an estimate of a numerical target value. Each node represents a splitting rule for one specific Attribute. For classification this rule separates values belonging to different classes, for regression it separates them in order to reduce the error in an optimal way for the selected parameter criterion.

The building of new nodes is repeated until the stopping criteria are met. A prediction for the class label Attribute is determined depending on the majority of Examples which reached this leaf during generation, while an estimation for a numerical value is obtained by averaging the values in a leaf.

This Operator can process ExampleSets containing both nominal and numerical Attributes. The label Attribute must be nominal for classification and numerical for regression.

After generation, the decision tree model can be applied to new Examples using the Apply Model Operator. Each Example follows the branches of the tree in accordance to the splitting rule until a leaf is reached.

To configure the decision tree, please read the documentation on parameters as explained below.

look at this link please:

regards

mbs

• Options
Moderator, Member Posts: 1,207 Unicorn
Hello @krim3405

There is no single base model for decision tree operator in rapid miner, it switches based on your selection of criterion. So my understanding for least squares is a modified version of CART.

@IngoRM or @gmeier any suggestions here?
Regards,
Varun
https://www.varunmandalapu.com/

# Be Safe. Follow precautions and Maintain Social Distancing

• Options
Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited October 2019
hi @krim3405 yes @varunm1 is correct of course. The best way to answer your question is simply to share the code with you. All of RapidMiner's learner operators are 100% open source on GitHub.

https://github.com/rapidminer/rapidminer-studio/tree/3a2da3e40bbadaf5515e04093867798c27d0654d/src/main/java/com/rapidminer/operator/learner/tree

Scott
Sign In or Register to comment.