MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _cdf

Method _cdf

tensorflow/contrib/distributions/python/ops/cauchy.py:187–188  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

185 return self._log_unnormalized_prob(x) - self._log_normalization()
186
187 def _cdf(self, x):
188 return math_ops.atan(self._z(x)) / np.pi + 0.5
189
190 def _log_cdf(self, x):
191 return math_ops.log1p(2 / np.pi * math_ops.atan(self._z(x))) - np.log(2)

Callers

nothing calls this directly

Calls 1

_zMethod · 0.95

Tested by

no test coverage detected