1
3.3kviews
Apply desision tree algorithm and show the generated rules.


A simple exam from the stock market involving only discrete ranges has profit as categorial attribute, with values {up, down} and the training data set is given below.

Age Competition Type Profit
Old Yes Software Down
Old No Software Down
Old No Hardware Down
Mid Yes Software Down
Mid Yes Hardware Down
Mid No Hardware Up
Mid No Software Up
New Yes Software Up
New No Hardware Up
New No Software Up

Apply desision tree algorithm and show the generated rules.

1 Answer
1
232views

In a given data table Categorical Attribute is Profit that has discrete values UP and DOWN.

P = Profit = UP = 5

Q = Profit = Down = 5

The first step is to calculate the Information Gain for this Profit Attribute

$$ Info(Profit) = I (P, Q)= - …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.