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

Method sum_hessian

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

Sum Hessian of a node.

(self, node_id: int)

Source from the content-addressed store, hash-verified

63 return self.nodes[node_id].loss_chg
64
65 def sum_hessian(self, node_id: int) -> float:
66 """Sum Hessian of a node."""
67 return self.nodes[node_id].sum_hess
68
69 def base_weight(self, node_id: int) -> float:
70 """Base weight of a node."""

Callers 1

__str__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected