In: Economics
A decision tree contains two parts one is its leave and the decision node. The leaves are basically the final outcome whereas the nodes are denoted as the data split. It is basically used in Statistical modelling for Machine Learning.
In decision tree there are two outcomes as depicted as Leaves, one of these two will definitely occur depending on the data and the test.
Please find below the decision tree for a weather forecast. The first one the type of weather, how the weather is, there are three options. It can be Sunny, Cloudy or Rainy. If it’s is Sunny then we need to check on the level of humidity whether it’s high or low. If the Weather is cloudy then the outcome is only one. If there is raining then there might have a wind, we need to check if there is any wind or not. So the decision tree are working by these ways. It have more than one outcome, if one satisfies then the further details need to check. The check will run until the break or the exit of the loop
|
|
Weather |
|||||||||
|
Sunny |
Cloudy |
Rainy |
||||||||
|
Humididity |
||||||||||
|
High |
Normal |
|||||||||
|
No |
Yes |
Wind |
||||||||
|
Yes |
|
|||||||||
|
No |
Yes |