MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / predict

Method predict

rl2/mountaincar/pg_theano.py:205–208  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

203 self.train_op(X, Y)
204
205 def predict(self, X):
206 X = np.atleast_2d(X)
207 X = self.ft.transform(X)
208 return self.predict_op(X)
209
210
211def play_one_td(env, pmodel, vmodel, gamma):

Callers 1

play_one_tdFunction · 0.45

Calls 1

transformMethod · 0.45

Tested by

no test coverage detected