Algorithm 1.
Input:
k (Number of rules required), T (database table), mw (max weight), W (weight function) | |
Output: S (Solution set of rules) | |
S = ϕ | |
for i from 1 to k do | |
Rm = Find_best_marginal_rule(S, T, mw, W) | |
S = S ∪ {Rm} | |
return S |
Input:
k (Number of rules required), T (database table), mw (max weight), W (weight function) | |
Output: S (Solution set of rules) | |
S = ϕ | |
for i from 1 to k do | |
Rm = Find_best_marginal_rule(S, T, mw, W) | |
S = S ∪ {Rm} | |
return S |