javaAnchorExplainer
javaAnchorExplainer copied to clipboard
Ignoring features
The complexity of constructing anchors mainly depends on the number of features. Thus, if an instance has many features, the algorithm is slow. The parameter maxAnchorSize allows to constrain the rule so that it stops if a certain number of predicates are added. However, the alogithm does not allow to completely ignore a feature in a way that no rule gets created containing ignored features. We should think about adding this feature. In some cases, the users knows or suspects which features are important (e.g., by previously obtaining feature importances from a RF) and does not want the overhead of taking all features into consideration.