|
Algorithm 1 Algorithm for conversion of symbolic values of attributes into numerical equivalents. |
|
Input: decision table T with condition attributes , row
|
|
Output:-matrix data form of T
|
| ; // is a set of unique pairs () from T
|
| for each
r of T
do
|
| add descriptor () to ; |
| each for
|
| for each descriptor () from
do
|
| add column to , named , filled with 0’s; |
| end for
|
| for each
r of T
do
|
| set value to 1 for column named where and ; |
| end for
|