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

Function error_rate

cnn_class/benchmark.py:20–21  ·  view source on GitHub ↗
(p, t)

Source from the content-addressed store, hash-verified

18
19
20def error_rate(p, t):
21 return np.mean(p != t)
22
23
24def flatten(X):

Callers 6

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected