📜  决策表和决策树的区别

📅  最后修改于: 2021-09-14 02:30:12             🧑  作者: Mango

1. 决策表:
决策表只是所有条件和动作的表格表示。每当流程逻辑非常复杂并且涉及多个条件时,总是使用决策树。用于形成数据表的主要组件是条件存根、动作存根和规则。

2. 决策树:
决策树是一个图,它总是使用分支方法来展示任何决策的所有可能结果。决策树是图形化的,可以更好地表示决策结果。它由三个节点组成,即决策节点、机会节点和终端节点。

决策表和决策树的区别:

S.No. Decision Table Decision Tree
1. Decision Tables are tabular representation of conditions and actions. Decision Trees are graphical representation of every possible outcome of a decision.
2. We can derive decision table from decision tree. We can not derive decision tree from decision table.
3. It helps to clarify the criteria. It helps to take into account the possible relevant outcomes of decision.
4. In Decision Tables, we can include more than one ‘or’ condition. In Decision Trees, we can not include more than one ‘or’ condition.
5. It is used when there are small number of properties. It is used when there are more number of properties.
6. It is used for simple logic only. It can be used for complex logic as well.
7. It is constructed of rows and tables. It is constructed of branches and nodes.