MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / MSE

Function MSE

utils/metrics.py:40–41  ·  view source on GitHub ↗
(pred, true)

Source from the content-addressed store, hash-verified

38
39
40def MSE(pred, true):
41 return np.mean((pred - true) ** 2)
42
43
44def RMSE(pred, true):

Callers 2

RMSEFunction · 0.85
metricFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected