Skip to main content
. 2023 Jan 2;25(1):91. doi: 10.3390/e25010091
Algorithm 3 Heuristic (M, RM or log) for induction of decision rules.
Input: Decision table T with condition attributes and row r
Output: Decision rule rul for T and given row r
  Q;
  T0(attr,vattr)T;
  while Tj(attr,vattr) is not degenerate do

    select attribute attri as follows:

    • heuristic M selects attri which minimizes the value M(attri,r,dk);

    • heuristic RM selects attri which minimizes the value RM(attri,r,dk);

    • heuristic log selects attri which maximizes the value β(attri,r,dk)log2(α(attri,r,dk)+2);

    QQ{attr};
    T(j+1)Tj(attr,vattr);
    j=j+1;
  end while
  rulattrQ(attri=vattri)dk;