code: def __init__(self, n_features, n_classes, n_outputs):
      self.max_depth = 0
      self.node_count = 0
      self.capacity = 0
      self.nodes = []
      self.value = None
  
      self.n_features = n_features
      self.n_outputs = n_outputs
      self.n_classes = ivy.zeros(n_outputs, dtype=ivy.int32)
  
      self.max_n_classes = ivy.max(n_classes)
      self.value_stride = n_outputs * self.max_n_classes
  
      for k in range(n_outputs):
          self.n_classes[k] = n_classes[k]
  
file_path: ivy/ivy/functional/frontends/sklearn/tree/_tree.py
imports: import ivy
  from ._splitter import SplitRecord
label_desc: Use image node_id 1 to create a new Tree object  with example: obj = Tree(n_features, n_classes, n_outputs)