class_docstr: A tree built by XGBoost.
code: def __init__(self, tree_id: int, nodes: Sequence[Node]) -> None:
      self.tree_id = tree_id
      self.nodes = nodes
  
imports: import argparse
  import json
  from dataclasses import dataclass
  from enum import IntEnum, unique
  from typing import Any, Dict, List, Sequence, Union
  import numpy
label_desc: Use image node_id 1 to create a new Tree object  with example: obj = Tree(tree_id, nodes)