MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / get_params

Method get_params

rl3/es_flappy.py:107–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 return np.argmax(p)
106
107 def get_params(self):
108 # return a flat array of parameters
109 return np.concatenate([self.W1.flatten(), self.b1, self.W2.flatten(), self.b2])
110
111 def get_params_dict(self):
112 return {

Callers 1

es_flappy.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected