MCPcopy Create free account
hub / github.com/dmlc/xgboost / Node

Class Node

demo/guide-python/model_parser.py:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37@dataclass
38class Node:
39 # properties
40 left: int
41 right: int
42 parent: int
43 split_idx: int
44 split_cond: float
45 default_left: bool
46 split_type: SplitType
47 categories: List[int]
48 # statistic
49 base_weight: float
50 loss_chg: float
51 sum_hess: float
52
53
54class Tree:

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected