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

Function error_rate

ann_class2/tensorflow2.py:21–22  ·  view source on GitHub ↗
(p, t)

Source from the content-addressed store, hash-verified

19
20
21def error_rate(p, t):
22 return np.mean(p != t)
23
24
25# copy this first part from theano2.py

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected