Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ error_rate
Function
error_rate
unsupervised_class2/util.py:17–18 ·
view source on GitHub ↗
(p, t)
Source
from the content-addressed store, hash-verified
15
16
17
def
error_rate(p, t):
18
return
np.mean(p != t)
19
20
21
def
getKaggleMNIST():
Callers
3
fit
Method · 0.90
fit
Method · 0.90
fit
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected