class_docstr: Class defining a tree node.
class_docstr_tok: ["Class","defining","a","tree","node","."]
docstr: Args:
      id: A unique ID for the node
      left: The id of the left node
      right: The id of the right node
      feature: The feature used to make a decision (if not leaf node, ignored otherwise)
      threshold: The threshold used in the decision (if not leaf node, ignored otherwise)
      value: The value stored in the leaf (ignored if not leaf node).
docstr_tok: ["Args",":","id",":","A","unique","ID","for","the","node","left",":","The","id","of","the","left","node","right",":","The","id","of","the","right","node","feature",":","The","feature","used","to","make","a","decision","(","if","not","leaf","node",",","ignored","otherwise",")","threshold",":","The","threshold","used","in","the","decision","(","if","not","leaf","node",",","ignored","otherwise",")","value",":","The","value","stored","in","the","leaf","(","ignored","if","not","leaf","node",")","."]
code: def __init__(self, id=None):
      """
      Args:
          id: A unique ID for the node
          left: The id of the left node
          right: The id of the right node
          feature: The feature used to make a decision (if not leaf node, ignored otherwise)
          threshold: The threshold used in the decision (if not leaf node, ignored otherwise)
          value: The value stored in the leaf (ignored if not leaf node).
      """
      self.id = id
      self.left = None
      self.right = None
      self.feature = None
      self.threshold = None
      self.value = None
  
imports: import copy
  import numpy
  import torch
  from ._tree_implementations import TreeImpl
  from ._tree_implementations import GEMMDecisionTreeImpl, TreeTraversalDecisionTreeImpl, PerfectTreeTraversalDecisionTreeImpl
  from .None import constants
  from hummingbird.ml.exceptions import MissingConverter
label_desc: Use image node_id 1 to create a new Node object  with example: obj = Node(id)