Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rushter/MLAlgorithms
/ mean_squared_error
Function
mean_squared_error
mla/metrics/metrics.py:50–51 ·
view source on GitHub ↗
(actual, predicted)
Source
from the content-addressed store, hash-verified
48
49
50
def
mean_squared_error(actual, predicted):
51
return
np.mean(squared_error(actual, predicted))
52
53
54
def
root_mean_squared_error(actual, predicted):
Callers
9
test_linear
Function · 0.90
test_mlp
Function · 0.90
test_knn
Function · 0.90
regression
Function · 0.90
regression
Function · 0.90
regression
Function · 0.90
regression
Function · 0.90
regression
Function · 0.90
root_mean_squared_error
Function · 0.85
Calls
1
squared_error
Function · 0.85
Tested by
3
test_linear
Function · 0.72
test_mlp
Function · 0.72
test_knn
Function · 0.72