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: The maximum number of rules to return. defaults to -1 which means the number of rules is selected
  by diminishing returns in model deviance.
  
  Type: ``int``, defaults to ``-1``.
docstr_tok: ["The","maximum","number","of","rules","to","return",".","defaults","to","-1","which","means","the","number","of","rules","is","selected","by","diminishing","returns","in","model","deviance",".","Type",":","``","int","``",",","defaults","to","``","-1","``","."]
code: def max_num_rules(self):
      """
      The maximum number of rules to return. defaults to -1 which means the number of rules is selected
      by diminishing returns in model deviance.
  
      Type: ``int``, defaults to ``-1``.
      """
      return self._parms.get("max_num_rules")
  
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 18 for calling the H2ORuleFitEstimator obj's underlying member method code with example usage: obj.max_num_rules() and returns: self