Exercises / ml
Mean squared error
mse(y, yhat) is the mean of squared differences. Print mse([2, 2, 2], [0, 2, 4]).
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.
Exercises / ml
mse(y, yhat) is the mean of squared differences. Print mse([2, 2, 2], [0, 2, 4]).
Run to execute this in your browser. Nothing is sent to a server.