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

Method split_index

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

Split feature index of node.

(self, node_id: int)

Source from the content-addressed store, hash-verified

71 return self.nodes[node_id].base_weight
72
73 def split_index(self, node_id: int) -> int:
74 """Split feature index of node."""
75 return self.nodes[node_id].split_idx
76
77 def split_condition(self, node_id: int) -> float:
78 """Split value of a node."""

Callers 2

is_deletedMethod · 0.95
get_feature_weightsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected