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

Method split_condition

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

Split value of a node.

(self, node_id: int)

Source from the content-addressed store, hash-verified

75 return self.nodes[node_id].split_idx
76
77 def split_condition(self, node_id: int) -> float:
78 """Split value of a node."""
79 return self.nodes[node_id].split_cond
80
81 def split_categories(self, node_id: int) -> List[int]:
82 """Categories in a node."""

Callers 1

__str__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected