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

Method partial_fit

rl2/cartpole/pg_theano.py:166–169  ·  view source on GitHub ↗
(self, X, Y)

Source from the content-addressed store, hash-verified

164 )
165
166 def partial_fit(self, X, Y):
167 X = np.atleast_2d(X)
168 Y = np.atleast_1d(Y)
169 self.train_op(X, Y)
170
171 def predict(self, X):
172 X = np.atleast_2d(X)

Callers 2

play_one_tdFunction · 0.45
play_one_mcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected