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: Specifies type of base learners in the ensemble.
  
  Type: ``Literal["rules_and_linear", "rules", "linear"]``, defaults to ``"rules_and_linear"``.
docstr_tok: ["Specifies","type","of","base","learners","in","the","ensemble",".","Type",":","``","Literal","[","``","rules_and_linear","''",",","``","rules","''",",","``","linear","''","]","``",",","defaults","to","``","``","rules_and_linear","''","``","."]
code: def model_type(self):
      """
      Specifies type of base learners in the ensemble.
  
      Type: ``Literal["rules_and_linear", "rules", "linear"]``, defaults to ``"rules_and_linear"``.
      """
      return self._parms.get("model_type")
  
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 20 for calling the H2ORuleFitEstimator obj's underlying member method code with example usage: obj.model_type() and returns: self