Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ absolute_error
Function
absolute_error
mla/metrics/metrics.py:20–21 ·
view source on GitHub ↗
(actual, predicted)
Source
from the content-addressed store, hash-verified
18
19
20
def
absolute_error(actual, predicted):
21
return
np.abs(actual - predicted)
22
23
24
@unhot
Callers
1
mean_absolute_error
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected