class_docstr: RuleFit
  
  Builds a RuleFit on a parsed dataset, for regression or 
  classification. 
class_docstr_tok: ["RuleFit","Builds","a","RuleFit","on","a","parsed","dataset",",","for","regression","or","classification","."]
docstr: Evaluates validity of the given rules on the given data. 
  
  :param frame: H2OFrame on which rule validity is to be evaluated
  :param rule_ids: string array of rule ids to be evaluated against the frame
  :return: H2OFrame with a column per each input ruleId, representing a flag whether given rule is applied to the observation or not.
docstr_tok: ["Evaluates","validity","of","the","given","rules","on","the","given","data",".",":","param","frame",":","H2OFrame","on","which","rule","validity","is","to","be","evaluated",":","param","rule_ids",":","string","array","of","rule","ids","to","be","evaluated","against","the","frame",":","return",":","H2OFrame","with","a","column","per","each","input","ruleId",",","representing","a","flag","whether","given","rule","is","applied","to","the","observation","or","not","."]
code: def predict_rules(self, frame, rule_ids):
      """
      Evaluates validity of the given rules on the given data.
  
      :param frame: H2OFrame on which rule validity is to be evaluated
      :param rule_ids: string array of rule ids to be evaluated against the frame
      :return: H2OFrame with a column per each input ruleId, representing a flag whether given rule is applied to the observation or not.
      """
      from h2o.frame import H2OFrame
      from h2o.utils.typechecks import assert_is_type
      from h2o.expr import ExprNode
  
      assert_is_type(frame, H2OFrame)
      return H2OFrame._expr(
          expr=ExprNode("rulefit.predict.rules", self, frame, rule_ids)
      )
  
imports: from h2o.utils.metaclass import deprecated_params, deprecated_property
  import h2o
  from h2o.estimators.estimator_base import H2OEstimator
  from h2o.exceptions import H2OValueError
  from h2o.frame import H2OFrame
  from h2o.utils.typechecks import assert_is_type, Enum, numeric
label_desc: Use image node_id 37 for calling the H2ORuleFitEstimator obj's underlying member method code with example usage: obj.predict_rules(frame, rule_ids) and returns: H2OFrame