class_docstr: Nearest neighbor classifier model. Nearest neighbor classifiers predict the
  class of any observation to be the most common class among the observation's
  closest neighbors.
  
  This model should not be constructed directly. Instead, use
  :func:`turicreate.nearest_neighbor_classifier.create` to create an instance of
  this model.
class_docstr_tok: ["Nearest","neighbor","classifier","model",".","Nearest","neighbor","classifiers","predict","the","class","of","any","observation","to","be","the","most","common","class","among","the","observation's","closest","neighbors",".","This","model","should","not","be","constructed","directly",".","Instead",",","use",":","func",":","`","turicreate.nearest_neighbor_classifier.create","`","to","create","an","instance","of","this","model","."]
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.
      """
      model_fields = [
          ("Number of examples", "num_examples"),
          ("Number of feature columns", "num_features"),
          ("Number of unpacked features", "num_unpacked_features"),
          ("Number of distance components", "num_distance_components"),
          ("Number of classes", "num_classes"),
      ]
  
      training_fields = [("Training time (seconds)", "training_time")]
  
      section_titles = ["Schema", "Training Summary"]
      return ([model_fields, training_fields], section_titles)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import time
  import copy
  import array
  import logging
  import turicreate
  from turicreate.toolkits._model import CustomModel
  from turicreate.toolkits._internal_utils import _toolkit_repr_print
  from turicreate.toolkits._internal_utils import _raise_error_if_sframe_empty
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe
  from turicreate.toolkits._internal_utils import _raise_error_if_column_exists
  from turicreate.toolkits._internal_utils import _raise_error_evaluation_metric_is_valid
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits import evaluation
  from turicreate.toolkits._model import PythonProxy
label_desc: Use image node_id 8 for calling the NearestNeighborClassifier obj's underlying member method code with example usage: obj._get_summary_struct() and returns: list,  section_titles