Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ predict
Method
predict
rl2/cartpole/pg_theano.py:171–173 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
169
self.train_op(X, Y)
170
171
def
predict(self, X):
172
X = np.atleast_2d(X)
173
return
self.predict_op(X)
174
175
176
def
play_one_td(env, pmodel, vmodel, gamma):
Callers
2
play_one_td
Function · 0.45
play_one_mc
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected