Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ logp
Method
logp
hyperopt/tests/unit/test_rdists.py:147–148 ·
view source on GitHub ↗
(self, x, low, high, q)
Source
from the content-addressed store, hash-verified
145
146
class
TestQLogUniform(unittest.TestCase):
147
def
logp(self, x, low, high, q):
148
return
qloguniform_gen(low, high, q).logpmf(x)
149
150
def
test_smallq(self):
151
low, high, q = (0, 1, 0.1)
Callers
3
test_point_logpmf
Method · 0.95
test_rounding_logpmf
Method · 0.95
test_smallq_logpmf
Method · 0.95
Calls
2
qloguniform_gen
Class · 0.90
logpmf
Method · 0.45
Tested by
no test coverage detected