MCPcopy
hub / github.com/hyperopt/hyperopt / loss_variance

Method loss_variance

hyperopt/base.py:977–979  ·  view source on GitHub ↗

Return the variance in the estimate of the loss

(self, result, config=None)

Source from the content-addressed store, hash-verified

975 return result.get("loss", None)
976
977 def loss_variance(self, result, config=None):
978 """Return the variance in the estimate of the loss"""
979 return result.get("loss_variance", 0.0)
980
981 def true_loss(self, result, config=None):
982 """Return a true loss, in the case that the `loss` is a surrogate"""

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected