Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ classification_error
Function
classification_error
mla/metrics/metrics.py:25–26 ·
view source on GitHub ↗
(actual, predicted)
Source
from the content-addressed store, hash-verified
23
24
@unhot
25
def
classification_error(actual, predicted):
26
return
(actual != predicted).sum() / float(actual.shape[0])
27
28
29
@unhot
Callers
1
accuracy
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected