Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ logsum_rows
Function
logsum_rows
hyperopt/tpe.py:253–255 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
251
252
253
def
logsum_rows(x):
254
m = x.max(axis=1)
255
return
np.log(np.exp(x - m[:, None]).sum(axis=1)) + m
256
257
258
@scope.define
Callers
2
GMM1_lpdf
Function · 0.85
LGMM1_lpdf
Function · 0.85
Calls
1
max
Method · 0.80
Tested by
no test coverage detected