MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / hess

Method hess

mla/ensemble/gbm.py:30–32  ·  view source on GitHub ↗

Second order gradient.

(self, actual, predicted)

Source from the content-addressed store, hash-verified

28 raise NotImplementedError()
29
30 def hess(self, actual, predicted):
31 """Second order gradient."""
32 raise NotImplementedError()
33
34 def approximate(self, actual, predicted):
35 """Approximate leaf value."""

Callers 2

approximateMethod · 0.95
gainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected