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

Method get_cost

hmm_class/hmmc_tf.py:164–165  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

162 plt.show()
163
164 def get_cost(self, x):
165 return self.session.run(self.cost_op, feed_dict={self.tfx: x})
166
167 def get_cost_multi(self, X):
168 return np.array([self.get_cost(x) for x in X])

Callers 1

get_cost_multiMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected