docstr: Return the node as a dictionary.
  
  Returns
  -------
  dict: All the attributes of this node as a dictionary (minus the left
        and right).
docstr_tok: ["Return","the","node","as","a","dictionary",".","Returns","--","--","--","-","dict",":","All","the","attributes","of","this","node","as","a","dictionary","(","minus","the","left","and","right",")","."]
code: def to_dict(self):
      """
      Return the node as a dictionary.
  
      Returns
      -------
      dict: All the attributes of this node as a dictionary (minus the left
            and right).
      """
      out = {}
      for key in self.__dict__.keys():
          if key not in ["left", "right", "missing", "parent"]:
              out[key] = self.__dict__[key]
      return out
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from turicreate.util import _raise_error_if_not_of_type
  from turicreate.toolkits._internal_utils import _numeric_param_check_range
  import sys
label_desc: Use image node_id 4 for calling the Node obj's underlying member method code with example usage: obj.to_dict() and returns: out