Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BorealisAI/scaleformer
/ MAE
Function
MAE
utils/metrics.py:36–37 ·
view source on GitHub ↗
(pred, true)
Source
from the content-addressed store, hash-verified
34
35
36
def
MAE(pred, true):
37
return
np.mean(np.abs(pred - true))
38
39
40
def
MSE(pred, true):
Callers
1
metric
Function · 0.85
Calls
1
abs
Method · 0.80
Tested by
no test coverage detected