9

I'm doing the conceptual model for a Decision tree database. The goal is store any Decision tree.

I have four entity types: DecisionTree, Node, Branch and Leaf.

  • Each Decision tree is composed of Decision node(s), Branch(es) and Leaves.
  • Each Decision node has a name and position.
  • Each Branch is a path for a possible decision or occurrence.
  • Each Leaf has represents the class label of the object to be classified.

Example of a decision tree:

enter image description here

Figure 1 provides an example of decision tree with its associated rules, where p(Class #i) is the probability of objects to belong to Class #i.

Example of Trees in SQL databases:

Representation of a decision tree:

enter image description here

My conceptual design is represented in the following entity-relationship diagram (ERD):

enter image description here

So, the question is: How can I associate an Node, Branch and Leaf with an DecisionTree?

Michael Green
  • 25,255
  • 13
  • 54
  • 100
Amater90
  • 91
  • 1
  • 3

0 Answers0