Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ set_session
Method
set_session
rl2/mountaincar/pg_tf.py:154–155 ·
view source on GitHub ↗
(self, session)
Source
from the content-addressed store, hash-verified
152
self.train_op = tf.train.AdamOptimizer(1e-1).minimize(cost)
153
154
def
set_session(self, session):
155
self.session = session
156
157
def
partial_fit(self, X, Y):
158
X = np.atleast_2d(X)
Callers
1
main
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected