class_docstr: Implements common methods among tree models:
  - BoostedTreesClassifier
  - BoostedTreesRegression
  - RandomForestClassifier
  - RandomForestRegression
  - DecisionTreeClassifier
  - DecisionTreeRegression
class_docstr_tok: ["Implements","common","methods","among","tree","models",":","-","BoostedTreesClassifier","-","BoostedTreesRegression","-","RandomForestClassifier","-","RandomForestRegression","-","DecisionTreeClassifier","-","DecisionTreeRegression"]
docstr: Returns a structured description of the model, including (where relevant)
  the schema of the training data, description of the training data,
  training statistics, and model hyperparameters.
  
  Returns
  -------
  sections : list (of list of tuples)
      A list of summary sections.
        Each section is a list.
          Each item in a section list is a tuple of the form:
            ('<label>','<field>')
  section_titles: list
      A list of section titles.
        The order matches that of the 'sections' object.
docstr_tok: ["Returns","a","structured","description","of","the","model",",","including","(","where","relevant",")","the","schema","of","the","training","data",",","description","of","the","training","data",",","training","statistics",",","and","model","hyperparameters",".","Returns","--","--","--","-","sections",":","list","(","of","list","of","tuples",")","A","list","of","summary","sections",".","Each","section","is","a","list",".","Each","item","in","a","section","list","is","a","tuple","of","the","form",":","(","'","<","label",">","'",",","'","<","field",">","'",")","section_titles",":","list","A","list","of","section","titles",".","The","order","matches","that","of","the","'sections","'","object","."]
code: def _get_summary_struct(self):
      """
      Returns a structured description of the model, including (where relevant)
      the schema of the training data, description of the training data,
      training statistics, and model hyperparameters.
  
      Returns
      -------
      sections : list (of list of tuples)
          A list of summary sections.
            Each section is a list.
              Each item in a section list is a tuple of the form:
                ('<label>','<field>')
      section_titles: list
          A list of section titles.
            The order matches that of the 'sections' object.
      """
      data_fields = [
          ("Number of examples", "num_examples"),
          ("Number of feature columns", "num_features"),
          ("Number of unpacked features", "num_unpacked_features"),
      ]
      if "num_classes" in self._list_fields():
          data_fields.append(("Number of classes", "num_classes"))
  
      training_fields = [
          ("Number of trees", "num_trees"),
          ("Max tree depth", "max_depth"),
          ("Training time (sec)", "training_time"),
      ]
  
      for m in ["accuracy", "log_loss", "auc", "rmse", "max_error"]:
          if "training_%s" % m in self._list_fields():
              training_fields.append(
                  ("Training %s" % m, "training_%s" % m)
              )
              if "validation_%s" % m in self._list_fields():
                  training_fields.append(
                      ("Validation %s" % m, "validation_%s" % m)
                  )
  
      return ([data_fields, training_fields], ["Schema", "Settings"])
  
file_path: turicreate/src/python/turicreate/toolkits/_tree_model_mixin.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe
  from turicreate.toolkits._supervised_learning import select_default_missing_value_policy
  from turicreate.toolkits import _coreml_utils
label_desc: Use image node_id 7 for calling the TreeModelMixin obj's underlying member method code with example usage: obj._get_summary_struct() and returns: list,  list