class_docstr: The NearestNeighborsModel represents rows of an SFrame in a structure that
  is used to quickly and efficiently find the nearest neighbors of a query
  point.
  
  This model cannot be constructed directly.  Instead, use
  :func:`turicreate.nearest_neighbors.create` to create an instance of this
  model. A detailed list of parameter options and code samples are available
  in the documentation for the create function.
class_docstr_tok: ["The","NearestNeighborsModel","represents","rows","of","an","SFrame","in","a","structure","that","is","used","to","quickly","and","efficiently","find","the","nearest","neighbors","of","a","query","point",".","This","model","can","not","be","constructed","directly",".","Instead",",","use",":","func",":","`","turicreate.nearest_neighbors.create","`","to","create","an","instance","of","this","model",".","A","detailed","list","of","parameter","options","and","code","samples","are","available","in","the","documentation","for","the","create","function","."]
docstr: Return the value of a given field. The list of all queryable fields is
  detailed below, and can be obtained with the
  :func:`~turicreate.nearest_neighbors.NearestNeighborsModel._list_fields`
  method.
  
  +-----------------------+----------------------------------------------+
  |      Field            | Description                                  |
  +=======================+==============================================+
  | distance              | Measure of dissimilarity between two points  |
  +-----------------------+----------------------------------------------+
  | features              | Feature column names                         |
  +-----------------------+----------------------------------------------+
  | unpacked_features     | Names of the individual features used        |
  +-----------------------+----------------------------------------------+
  | label                 | Label column names                           |
  +-----------------------+----------------------------------------------+
  | leaf_size             | Max size of leaf nodes (ball tree only)      |
  +-----------------------+----------------------------------------------+
  | method                | Method of organizing reference data          |
  +-----------------------+----------------------------------------------+
  | num_examples          | Number of reference data observations        |
  +-----------------------+----------------------------------------------+
  | num_features          | Number of features for distance computation  |
  +-----------------------+----------------------------------------------+
  | num_unpacked_features | Number of unpacked features                  |
  +-----------------------+----------------------------------------------+
  | num_variables         | Number of variables for distance computation |
  +-----------------------+----------------------------------------------+
  | training_time         | Time to create the reference structure       |
  +-----------------------+----------------------------------------------+
  | tree_depth            | Number of levels in the tree (ball tree only)|
  +-----------------------+----------------------------------------------+
  
  Parameters
  ----------
  field : string
      Name of the field to be retrieved.
  
  Returns
  -------
  out
      Value of the requested field.
docstr_tok: ["Return","the","value","of","a","given","field",".","The","list","of","all","queryable","fields","is","detailed","below",",","and","can","be","obtained","with","the",":","func",":","`","~turicreate.nearest_neighbors.NearestNeighborsModel._list_fields","`","method",".","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","Field","|","Description","|","+=======================+==============================================+","|","distance","|","Measure","of","dissimilarity","between","two","points","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","features","|","Feature","column","names","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","unpacked_features","|","Names","of","the","individual","features","used","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","label","|","Label","column","names","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","leaf_size","|","Max","size","of","leaf","nodes","(","ball","tree","only",")","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","method","|","Method","of","organizing","reference","data","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","num_examples","|","Number","of","reference","data","observations","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","num_features","|","Number","of","features","for","distance","computation","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","num_unpacked_features","|","Number","of","unpacked","features","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","num_variables","|","Number","of","variables","for","distance","computation","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","training_time","|","Time","to","create","the","reference","structure","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","|","tree_depth","|","Number","of","levels","in","the","tree","(","ball","tree","only",")","|","+","--","--","--","--","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","Parameters","--","--","--","--","--","field",":","string","Name","of","the","field","to","be","retrieved",".","Returns","--","--","--","-","out","Value","of","the","requested","field","."]
code: def _get(self, field):
      """
      Return the value of a given field. The list of all queryable fields is
      detailed below, and can be obtained with the
      :func:`~turicreate.nearest_neighbors.NearestNeighborsModel._list_fields`
      method.
  
      +-----------------------+----------------------------------------------+
      |      Field            | Description                                  |
      +=======================+==============================================+
      | distance              | Measure of dissimilarity between two points  |
      +-----------------------+----------------------------------------------+
      | features              | Feature column names                         |
      +-----------------------+----------------------------------------------+
      | unpacked_features     | Names of the individual features used        |
      +-----------------------+----------------------------------------------+
      | label                 | Label column names                           |
      +-----------------------+----------------------------------------------+
      | leaf_size             | Max size of leaf nodes (ball tree only)      |
      +-----------------------+----------------------------------------------+
      | method                | Method of organizing reference data          |
      +-----------------------+----------------------------------------------+
      | num_examples          | Number of reference data observations        |
      +-----------------------+----------------------------------------------+
      | num_features          | Number of features for distance computation  |
      +-----------------------+----------------------------------------------+
      | num_unpacked_features | Number of unpacked features                  |
      +-----------------------+----------------------------------------------+
      | num_variables         | Number of variables for distance computation |
      +-----------------------+----------------------------------------------+
      | training_time         | Time to create the reference structure       |
      +-----------------------+----------------------------------------------+
      | tree_depth            | Number of levels in the tree (ball tree only)|
      +-----------------------+----------------------------------------------+
  
      Parameters
      ----------
      field : string
          Name of the field to be retrieved.
  
      Returns
      -------
      out
          Value of the requested field.
      """
      opts = {
          "model": self.__proxy__,
          "model_name": self.__name__,
          "field": field,
      }
      response = _turicreate.extensions._nearest_neighbors.get_value(
          opts
      )
      return response["value"]
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._model import Model
  from turicreate.data_structures.sgraph import SGraph
  import turicreate.toolkits._internal_utils
  from turicreate.toolkits._private_utils import _validate_row_label
  from turicreate.toolkits._private_utils import _validate_lists
  from turicreate.toolkits._private_utils import _robust_column_name
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits.distances._util import _convert_distance_names_to_functions
  from turicreate.toolkits.distances._util import _validate_composite_distance
  from turicreate.toolkits.distances._util import _scrub_composite_distance_features
  from turicreate.toolkits.distances._util import _get_composite_distance_features
  from turicreate._cython.cy_server import QuietProgress
  import array
  import copy
  import six
label_desc: Use image node_id 7 for calling the NearestNeighborsModel obj's underlying member method code with example usage: obj._get(field) and returns: response