Skip to main content
. 2023 Jan 2;25(1):91. doi: 10.3390/e25010091
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
  j;
  Q;
  convert T into EAV table;
  attrA calculate STDattr grouped by Vd and create a ranking;
  select p attributes from the ranking and select descriptors from AV containing selected attributes;
  while all selected descriptors are not processed do
    create separable subtable Tj(attr,vattr);
    QQ{attr=vattr};
    if Tj(attr,vattr) is degenerate OR j=p then
      RRattr=vattrQ(attri=vattri)mcd(Tj), where mcd(Tj) is the most common decision for Tj;
    else
      j=j+1;
    end if
end while