| Algorithm 1: Rule elimination based on feature contribution and feature pattern |
| 1: Input: The number of layers , the number of RFs , the number of trees T, random forest , list of dSets 2: Start with an empty list of 3: 4: Learn LMRF 5: For each layer: 6: For each RF: 7: For each tree: 8: - Split a -th rule from a decision tree 9: - Calculate feature contribution of a -th rule , Equation (2) 10: - Calculate rule contribution for -th rule 11: - Add rule and its to 12: End 13: - Compute feature pattern by splitting rules in 14: - Re-compute a new rule contribution , Equation (4) 15: - Sort rules in according to 16: - Add to of -th layer 17: 18: End 19: End 20: Output: The consists of layers |