|
Algorithm 2 Algorithm for induction of decision rules. |
|
Input: decision table T with numerical values of attributes, number p of best attributes to be taken into consideration |
|
Output: set of unique rules R
|
| ; |
| ; |
| convert T into table; |
| calculate grouped by and create a ranking; |
| select p attributes from the ranking and select descriptors from containing selected attributes; |
| while all selected descriptors are not processed do
|
| create separable subtable ; |
| ; |
| if is degenerate OR
then
|
| , where is the most common decision for ; |
| else
|
| ; |
| end if
|
| end while |