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

Function predict

ann_class2/util.py:168–169  ·  view source on GitHub ↗
(p_y)

Source from the content-addressed store, hash-verified

166
167
168def predict(p_y):
169 return np.argmax(p_y, axis=1)
170
171
172def error_rate(p_y, t):

Callers 1

error_rateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected