Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ ucb
Function
ucb
rl/ucb1.py:34–35 ·
view source on GitHub ↗
(mean, n, nj)
Source
from the content-addressed store, hash-verified
32
33
34
def
ucb(mean, n, nj):
35
return
mean + np.sqrt(2*np.log(n) / nj)
36
37
38
def
run_experiment():
Callers
1
run_experiment
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected