Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modAL-python/modAL
/ EI
Function
EI
modAL/acquisition.py:19–21 ·
view source on GitHub ↗
(mean, std, max_val, tradeoff)
Source
from the content-addressed store, hash-verified
17
18
19
def
EI(mean, std, max_val, tradeoff):
20
z = (mean - max_val - tradeoff) / std
21
return
(mean - max_val - tradeoff)*ndtr(z) + std*norm.pdf(z)
22
23
24
def
UCB(mean, std, beta):
Callers
1
optimizer_EI
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected