Decision Tree
Last updated
Last updated
Check out the below given walk-through on how to use the Decision Tree chart component in Designer module.
A Decision Tree chart that helps determine a course of action or show a statistical probability. The chart is called a decision tree due to its resemblance to the namesake plant, usually outlined as an upright or a horizontal diagram that branches out.
The Decision Tree chart is made up of various nodes. It contains three types of nodes: Decision nodes, chance nodes, and outcome nodes. Starting from the Decision node, each branch of the Decision Tree represents a possible decision, outcome, or reaction. The furthest branches on the tree represent the end results of a certain decision pathway and are called the "leaves".
To classify the data based on a condition
To display continuous nodes as endpoints in a Regression Tree
Some examples where Decision Tree may be used:
To predict the Customer's action/reaction
To forecast Stock market movements
The user can change the background color of the chart, can get the border for the chart and can change the border color, can get the reflection of the chart by enable the shadow option can also change the color and increase & decrease the transparency of the shadow.
The user can enable the Enable Context Menu, then it is possible to download the reports in different formats if we click on the chart from the preview section. The heading and sub heading of that downloaded chart and the name of the downloaded file can be change from this section.
The user can change the height, width, top, left, chart type, column type & Line form. In this case we have only Chevron chart.
The user can change the Box color, font color, Node color, Percentage box value color and line color.
The user can show the description of series can use tooltip by enabling it.
The following data was used to generate the given example:
The Data has been selected for specific field based on their names only to plot the below-given chart.
nodeID | condition | depth | title | n | P.V1 | P.V2 |
---|---|---|---|---|---|---|
1
root
0
5.8433
150
0.2
0.8
2
PetalLength< 4.25
1
5.1795
73
0.3
0.7
3
PetalLength>=4.25
1
6.4727
77
0.8
0.2
4
PetalLength< 3.4
2
5.0057
53
0.9
0.1
5
PetalLength>=3.4
2
5.64
20
0.7
0.3
6
PetalLength< 6.05
2
6.3265
68
0.1
0.9
7
PetalLength>=6.05
2
7.5778
9
0.5
0.5