Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ error_rate
Function
error_rate
cnn_class/cifar.py:28–29 ·
view source on GitHub ↗
(targets, predictions)
Source
from the content-addressed store, hash-verified
26
27
28
def
error_rate(targets, predictions):
29
return
np.mean(targets != predictions)
30
31
32
def
image2array(im):
Callers
1
fit
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected