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: Retrieve rule importances for a Rulefit model
  
  :return: H2OTwoDimTable
docstr_tok: ["Retrieve","rule","importances","for","a","Rulefit","model",":","return",":","H2OTwoDimTable"]
code: def rule_importance(self):
      """
      Retrieve rule importances for a Rulefit model
  
      :return: H2OTwoDimTable
      """
      if self._model_json["algo"] != "rulefit":
          raise H2OValueError(
              "This function is available for Rulefit models only"
          )
  
      kwargs = {}
      kwargs["model_id"] = self.model_id
  
      json = h2o.api("POST /3/SignificantRules", data=kwargs)
      return json["significant_rules_table"]
  
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 36 for calling the H2ORuleFitEstimator obj's underlying member method code with example usage: obj.rule_importance() and returns: json