class_docstr: A tree built by XGBoost.
docstr: Base weight of a node.
docstr_tok: ["Base","weight","of","a","node","."]
code: def base_weight(self, node_id: int) -> float:
      """Base weight of a node."""
      return self.nodes[node_id].base_weight
  
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 4 for calling the Tree obj's underlying member method code with example usage: obj.base_weight(node_id) and returns: self