Search for question
Question

Part 3 (20 points)

Implement a function to compute (RMSE) given an RDD of (label, prediction) tuples:

Test this function on an example RDD.

RMSE =

1

n

n

i=1

(Yi - y)²

Fig: 1