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

Method set_session

rl2/mountaincar/pg_tf.py:93–94  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

91 self.train_op = tf.train.AdamOptimizer(1e-3).minimize(cost)
92
93 def set_session(self, session):
94 self.session = session
95
96 def partial_fit(self, X, actions, advantages):
97 X = np.atleast_2d(X)

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected