Evaluates validity of the given rules on the given data. Returns a frame with a column per each input rule id, representing a flag whether given rule is applied to the observation or not.
Evaluates validity of the given rules on the given data. Returns a frame with a column per each input rule id, representing a flag whether given rule is applied to the observation or not.
h2o.predict_rules(model, frame, rule_ids)
Arguments
model: A trained rulefit model.
frame: A frame on which rule validity is to be evaluated
rule_ids: Rule ids to be evaluated against the frame