Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ update
Method
update
rl2/atari/dqn_theano.py:312–313 ·
view source on GitHub ↗
(self, states, actions, targets)
Source
from the content-addressed store, hash-verified
310
return
self.predict_op(X)
311
312
def
update(self, states, actions, targets):
313
return
self.train_op(states, targets, actions)
314
315
def
sample_action(self, x, eps):
316
if
np.random.random() < eps:
Callers
1
learn
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected