Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ manual_accuracy
Function
manual_accuracy
machine_learning/scoring_functions.py:138–139 ·
view source on GitHub ↗
(predict, actual)
Source
from the content-addressed store, hash-verified
136
137
138
def
manual_accuracy(predict, actual):
139
return
np.mean(np.array(actual) == np.array(predict))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected